[Expat-CVS] expat/xmlwf xmlwf.c,1.60,1.61
Fred L. Drake
fdrake@users.sourceforge.net
Thu Aug 22 14:56:03 2002
Update of /cvsroot/expat/expat/xmlwf
In directory usw-pr-cvs1:/tmp/cvs-serv23311
Modified Files:
xmlwf.c
Log Message:
showVersion(): Only check for \ in the path on Windows, the same as
in tmain().
Index: xmlwf.c
===================================================================
RCS file: /cvsroot/expat/expat/xmlwf/xmlwf.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- xmlwf.c 1 Jul 2002 15:13:02 -0000 1.60
+++ xmlwf.c 22 Aug 2002 21:55:25 -0000 1.61
@@ -587,7 +587,11 @@
XML_Char *s = prog;
XML_Char ch;
while ((ch = *s) != 0) {
- if (ch == '/' || ch == '\\')
+ if (ch == '/'
+#ifdef WIN32
+ || ch == '\\'
+#endif
+ )
prog = s + 1;
++s;
}