FreeBSD Bugzilla – Attachment 37355 Details for
Bug 59499
[patch] textproc/xerces-c2: openFile function opens files for reading and writing instead of reading only
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch (text/plain), 794 bytes, created by
Konstantin Oznobihin
on 2003-11-20 09:00:33 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Konstantin Oznobihin
Created:
2003-11-20 09:00:33 UTC
Size:
794 bytes
patch
obsolete
>--- xerces-c-src_2_3_0/src/xercesc/util/Platforms/FreeBSD/FreeBSDPlatformUtils.cpp Wed Nov 12 20:32:33 2003 >+++ FreeBSDPlatformUtils.cpp Wed Nov 12 20:31:16 2003 >@@ -298,7 +298,7 @@ > XMLExcepts::CPtr_PointerIsZero); > const char* tmpFileName = XMLString::transcode(fileName, fgMemoryManager); > ArrayJanitor<char> janText((char*)tmpFileName, fgMemoryManager); >- FileHandle retVal = (FileHandle)fopen( tmpFileName , "r+" ); >+ FileHandle retVal = (FileHandle)fopen( tmpFileName , "r" ); > return retVal; > } > >@@ -307,7 +307,7 @@ > if (fileName == NULL) > ThrowXML(XMLPlatformUtilsException, > XMLExcepts::CPtr_PointerIsZero); >- FileHandle retVal = (FileHandle)fopen( fileName , "r+" ); >+ FileHandle retVal = (FileHandle)fopen( fileName , "r" ); > return retVal; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59499
: 37355