mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
376e495dad
commit
655edeb705
3 changed files with 13 additions and 2 deletions
|
@ -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>
|
2005-05-21 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Update FSF Address.
|
* Update FSF Address.
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -1443,8 +1444,8 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
||||||
|
|
||||||
- (NSData*) readDataOfLength: (unsigned)len
|
- (NSData*) readDataOfLength: (unsigned)len
|
||||||
{
|
{
|
||||||
NSMutableData* d;
|
NSMutableData *d;
|
||||||
int got;
|
int got;
|
||||||
|
|
||||||
[self checkRead];
|
[self checkRead];
|
||||||
if (isNonBlocking == YES)
|
if (isNonBlocking == YES)
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__)
|
||||||
#define UNICODE
|
#define UNICODE
|
||||||
#define _UNICODE
|
#define _UNICODE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue