tng 2002/11/04 06:09:07
Modified: c/samples/SAX2Count SAX2Count.cpp
Log:
[Bug 14201] use of ios::nocreate breaks build.
Revision Changes Path
1.21 +4 -1 xml-xerces/c/samples/SAX2Count/SAX2Count.cpp
Index: SAX2Count.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SAX2Count/SAX2Count.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- SAX2Count.cpp 1 Nov 2002 22:05:57 -0000 1.20
+++ SAX2Count.cpp 4 Nov 2002 14:09:06 -0000 1.21
@@ -56,6 +56,9 @@
/*
* $Log$
+* Revision 1.21 2002/11/04 14:09:06 tng
+* [Bug 14201] use of ios::nocreate breaks build.
+*
* Revision 1.20 2002/11/01 22:05:57 tng
* Samples/Test update: Issue error if the list file failed to open.
*
@@ -318,7 +321,7 @@
// the input is a list file
if (doList)
- fin.open(argV[argInd],ios::nocreate);
+ fin.open(argV[argInd]);
if (fin.fail()) {
cerr <<"Cannot open the list file: " << argV[argInd] << endl;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]