From: Jarkko Hietaniemi Date: Fri, 4 Feb 2000 20:09:00 +0000 (+0000) Subject: Largefilify offsets of tied handles. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3dc6ede7f49a7b2b348c8780a45fe232aa5beb97;p=p5sagit%2Fp5-mst-13.2.git Largefilify offsets of tied handles. p4raw-id: //depot/cfgperl@4996 --- diff --git a/pp_sys.c b/pp_sys.c index 59811e2..756ab10 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -1791,7 +1791,11 @@ PP(pp_sysseek) if (gv && (mg = SvTIED_mg((SV*)gv, 'q'))) { PUSHMARK(SP); XPUSHs(SvTIED_obj((SV*)gv, mg)); +#if LSEEKSIZE > IVSIZE + XPUSHs(sv_2mortal(newSVnv((NV) offset))); +#else XPUSHs(sv_2mortal(newSViv((IV) offset))); +#endif XPUSHs(sv_2mortal(newSViv((IV) whence))); PUTBACK; ENTER;