tng 2002/12/09 05:12:12 Modified: c/src/xercesc/util/NetAccessors/Socket UnixHTTPURLInputStream.cpp UnixHTTPURLInputStream.hpp Log: Fix compilation error. Revision Changes Path 1.9 +4 -7 xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp Index: UnixHTTPURLInputStream.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- UnixHTTPURLInputStream.cpp 9 Dec 2002 09:57:27 -0000 1.8 +++ UnixHTTPURLInputStream.cpp 9 Dec 2002 13:12:12 -0000 1.9 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.9 2002/12/09 13:12:12 tng + * Fix compilation error. + * * Revision 1.8 2002/12/09 09:57:27 gareth * Fixed compile error by adding private member. Not very efficient. Should be looked at again. * @@ -141,12 +144,7 @@ UnixHTTPURLInputStream::UnixHTTPURLInputStream(const XMLURL& urlSource) : fSocket(0) , fBytesProcessed(0) - , fURLText(0) { - - //REVISIT inefficient - this is used by the error reporting in readBytes. Do we need it? - fURLText = XMLString::replicate(urlSource.getURLText()); - // // Pull all of the parts of the URL out of th urlSource object, and transcode them // and transcode them back to ASCII. @@ -324,7 +322,6 @@ { shutdown(fSocket, 2); close(fSocket); - delete[] fURLText; } @@ -349,7 +346,7 @@ len = read(fSocket, (void *) toFill, maxToRead); if (len == -1) { - ThrowXML1(NetAccessorException, XMLExcepts::NetAcc_ReadSocket, fURLText); + ThrowXML(NetAccessorException, XMLExcepts::NetAcc_ReadSocket); } } 1.4 +3 -3 xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.hpp Index: UnixHTTPURLInputStream.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- UnixHTTPURLInputStream.hpp 9 Dec 2002 09:57:27 -0000 1.3 +++ UnixHTTPURLInputStream.hpp 9 Dec 2002 13:12:12 -0000 1.4 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.4 2002/12/09 13:12:12 tng + * Fix compilation error. + * * Revision 1.3 2002/12/09 09:57:27 gareth * Fixed compile error by adding private member. Not very efficient. Should be looked at again. * @@ -130,8 +133,6 @@ // fBufferPos, fBufferEnd // Pointers into fBuffer, showing start and end+1 of content // that readBytes must return. - // fURLText - // Full URL text for error reporting // ----------------------------------------------------------------------- int fSocket; @@ -139,7 +140,6 @@ char fBuffer[4000]; char * fBufferEnd; char * fBufferPos; - XMLCh * fURLText; }; // UnixHTTPURLInputStream
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]