View | Details | Raw Unified | Return to bug 59499
Collapse All | Expand All

(-)FreeBSDPlatformUtils.cpp (-2 / +2 lines)
Lines 298-304 Link Here
298
		 XMLExcepts::CPtr_PointerIsZero);
298
		 XMLExcepts::CPtr_PointerIsZero);
299
    const char* tmpFileName = XMLString::transcode(fileName, fgMemoryManager);
299
    const char* tmpFileName = XMLString::transcode(fileName, fgMemoryManager);
300
    ArrayJanitor<char> janText((char*)tmpFileName, fgMemoryManager);
300
    ArrayJanitor<char> janText((char*)tmpFileName, fgMemoryManager);
301
    FileHandle retVal = (FileHandle)fopen( tmpFileName , "r+" );
301
    FileHandle retVal = (FileHandle)fopen( tmpFileName , "r" );
302
    return retVal;
302
    return retVal;
303
}
303
}
304
304
Lines 307-313 Link Here
307
    if (fileName == NULL)
307
    if (fileName == NULL)
308
	ThrowXML(XMLPlatformUtilsException,
308
	ThrowXML(XMLPlatformUtilsException,
309
		 XMLExcepts::CPtr_PointerIsZero);
309
		 XMLExcepts::CPtr_PointerIsZero);
310
    FileHandle retVal = (FileHandle)fopen( fileName , "r+" );
310
    FileHandle retVal = (FileHandle)fopen( fileName , "r" );
311
    return retVal;
311
    return retVal;
312
}
312
}

Return to bug 59499