[Uml-devel] CVS: kdesdk/umbrello/umbrello/codegenerators perlwriter.cpp,1.1,1.2

kde at office.kde.org kde at office.kde.org
Sat Feb 1 02:30:05 UTC 2003


Update of /home/kde/kdesdk/umbrello/umbrello/codegenerators
In directory office:/tmp/cvs-serv2432

Modified Files:
	perlwriter.cpp 
Log Message:
patch by Oliver Kellogg:

Please avoid the new operators "and"/"or"/"xor", they
break compilation with gcc-2.95.

Index: perlwriter.cpp
===================================================================
RCS file: /home/kde/kdesdk/umbrello/umbrello/codegenerators/perlwriter.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- perlwriter.cpp	28 Jan 2003 17:25:14 -0000	1.1
+++ perlwriter.cpp	1 Feb 2003 10:29:45 -0000	1.2
@@ -61,9 +61,9 @@
 			newDir = regEx.cap(1);
 			fragment.remove(0, (regEx.pos(2) + 2)); // get round strange minimal matching bug
 			existing->setPath(curDir + "/" + newDir);
-			if (not existing->exists()) {
+			if (! existing->exists()) {
 				existing->setPath(curDir);
-				if (not existing->mkdir(newDir)) {
+				if (! existing->mkdir(newDir)) {
 					emit codeGenerated(c, false);
 					return;
 				}





More information about the umbrello-devel mailing list