summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-13 22:48:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-13 22:48:40 +0000
commitd9b3e12dc6d5d94bcf6692f9359e377c8a7dcdd6 (patch)
tree02fd6a0afe5f8a45764e5d35e16752db82d3a937 /doio.c
parentcc4466b7484b22db3b089a085bc005d7a5460bed (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doio.c b/doio.c
index a953d54dd2..73f9429d85 100644
--- a/doio.c
+++ b/doio.c
@@ -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