diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-13 22:48:40 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-13 22:48:40 +0000 |
commit | d9b3e12dc6d5d94bcf6692f9359e377c8a7dcdd6 (patch) | |
tree | 02fd6a0afe5f8a45764e5d35e16752db82d3a937 /doio.c | |
parent | cc4466b7484b22db3b089a085bc005d7a5460bed (diff) | |
download | perl-d9b3e12dc6d5d94bcf6692f9359e377c8a7dcdd6.tar.gz |
Jumbo Configure and large file support update.
Remove a lot of unneeded 64-bitness cruft;
re-introduce BYTEORDER; update 64-bitness hints;
lfs should now work in Solaris; long doubles in AIX.
p4raw-id: //depot/cfgperl@3982
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -141,7 +141,7 @@ Perl_do_open9(pTHX_ GV *gv, register char *name, I32 len, int as_raw, } if (as_raw) { -#if defined(O_LARGEFILE) +#if defined(USE_64_BIT_OFFSETS) && defined(O_LARGEFILE) rawmode |= O_LARGEFILE; #endif @@ -876,7 +876,7 @@ Perl_do_sysseek(pTHX_ GV *gv, Off_t pos, int whence) Perl_warner(aTHX_ WARN_UNOPENED, "sysseek() on unopened file"); } SETERRNO(EBADF,RMS$_IFI); - return -1L; + return (Off_t)-1; } int |