From 6d852ce9cb3b9b704ad311f8dbeaaff1eb679d98 Mon Sep 17 00:00:00 2001 From: Ilya Zakharevich Date: Thu, 18 Sep 2003 04:02:02 -0700 Subject: -M -A -C broken Message-ID: <20030918180202.GA21949@math.berkeley.edu> (use stat.t instead of time.t) p4raw-id: //depot/perl@21277 --- pp_sys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pp_sys.c') diff --git a/pp_sys.c b/pp_sys.c index 0a3c95e159..8c9c3cce48 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -3084,7 +3084,7 @@ PP(pp_ftmtime) dSP; dTARGET; if (result < 0) RETPUSHUNDEF; - PUSHn( (PL_basetime - PL_statcache.st_mtime) / 86400.0 ); + PUSHn( (((NV)PL_basetime - PL_statcache.st_mtime)) / 86400.0 ); RETURN; } @@ -3094,7 +3094,7 @@ PP(pp_ftatime) dSP; dTARGET; if (result < 0) RETPUSHUNDEF; - PUSHn( (PL_basetime - PL_statcache.st_atime) / 86400.0 ); + PUSHn( (((NV)PL_basetime - PL_statcache.st_atime)) / 86400.0 ); RETURN; } @@ -3104,7 +3104,7 @@ PP(pp_ftctime) dSP; dTARGET; if (result < 0) RETPUSHUNDEF; - PUSHn( (PL_basetime - PL_statcache.st_ctime) / 86400.0 ); + PUSHn( (((NV)PL_basetime - PL_statcache.st_ctime)) / 86400.0 ); RETURN; } -- cgit v1.2.1