From d83e7dcffa89d5e7576fa059526b1b7df76249a0 Mon Sep 17 00:00:00 2001 From: ken Date: Tue, 24 Jul 2001 05:53:27 +0000 Subject: [PATCH] [project @ 2001-07-24 05:53:27 by ken] Removed debugging (tracing) code. --- ghc/lib/std/Time.hsc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ghc/lib/std/Time.hsc b/ghc/lib/std/Time.hsc index 2cbf318..fbfc0bd 100644 --- a/ghc/lib/std/Time.hsc +++ b/ghc/lib/std/Time.hsc @@ -3,7 +3,7 @@ -- to compile on sparc-solaris. Blargh. -- ----------------------------------------------------------------------------- --- $Id: Time.hsc,v 1.18 2001/07/24 04:39:31 ken Exp $ +-- $Id: Time.hsc,v 1.19 2001/07/24 05:53:27 ken Exp $ -- -- (c) The University of Glasgow, 1995-2001 -- @@ -387,9 +387,7 @@ throwAwayReturnPointer fun x y = fun x y >> return () clockToCalendarTime_static :: (Ptr CTime -> IO (Ptr CTm)) -> Bool -> ClockTime -> IO CalendarTime clockToCalendarTime_static fun is_utc (TOD secs psec) = do - putStrLn ("clockToCalendarTime: TOD " ++ show secs ++ " " ++ show psec) withObject (fromIntegral secs :: CTime) $ \ p_timer -> do - case p_timer of Ptr addr -> putStrLn ("const time_t * = " ++ show (I## (addr2Int## addr))) p_tm <- fun p_timer -- can't fail, according to POSIX clockToCalendarTime_aux is_utc p_tm psec -- 1.7.10.4