Added large file handling support.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21273 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-06-04 05:01:01 +00:00
parent fcc13ccd0f
commit da27390636
3 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2005-06-04 Richard Frith-Macdonald <rfm@gnu.org>
GSFileHandle.m:
NSFileManager.m:
Define _FILE_OFFSET_BITS to be 64 so that, on unix-like systems which
support large file handling (>2GB) the large file handling routines
are used.
2005-05-21 Adam Fedor <fedor@gnu.org>
* Update FSF Address.

View file

@ -21,6 +21,7 @@
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
#define _FILE_OFFSET_BITS 64
#include "config.h"
@ -1443,8 +1444,8 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
- (NSData*) readDataOfLength: (unsigned)len
{
NSMutableData* d;
int got;
NSMutableData *d;
int got;
[self checkRead];
if (isNonBlocking == YES)

View file

@ -36,6 +36,8 @@
$Date$ $Revision$
*/
#define _FILE_OFFSET_BITS 64
#if defined(__MINGW32__)
#define UNICODE
#define _UNICODE