Hi Thomas,

If it's possible for you to build directly from our CVS repository, I've
just put in a fix that I think resolves this problem.  Since we're using
open instead of fopen, I believe it's necessary to or in O_LARGEFILE to the
open call; but I have no sufficiently large files to test this.

Thanks!
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  905-413-3519, T/L 969-3519
E-mail:  [EMAIL PROTECTED]




                                                                                       
                                                       
                      [EMAIL PROTECTED]                                                
                                                
                      oftware.com                     To:       [EMAIL PROTECTED]      
                                             
                                                      cc:                              
                                                       
                      12/30/2003 12:18 AM             Subject:  XMLPlatformUtils 
support for large file on Solaris                            
                      Please respond to                                                
                                                       
                      xerces-c-dev                                                     
                                                       
                                                                                       
                                                       
                                                                                       
                                                       




I am using the following XMLPlatformUtils call to write XML documents
directly to disk.

XMLPlatformUtils::openFileToWrite(utf16FileName);

XMLPlatformUtils::writeBufferToFile(_fileHandle,
                                        _bufferedBytes,
                                        (XMLByte*)_fileBuffer);
XMLPlatformUtils::closeFile(_fileHandle);

It seems that those calls cannot be used for files bigger than 2 Gig. I
check the XercesC source code, Solaris platform util implementation, it
seems that a regular open is used to open the file while on Solaris, things
like open64 (or something like that) must be used for large file support (I
think).

Can anybody confirm? If it is confirmed, is there anywhere an alternative
to
the default XMLPlatformUtils that will support large files?

Thanks.

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to