From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9604300613.AA05566@nova.tat.physik.uni-tuebingen.de> Date: Tue, 30 Apr 1996 02:06:00 +0200 (MET DST) From: Harald Koenig Subject: Re: Linux-1.3.95 - strace for alpha In-Reply-To: <199604262143.XAA00895@bigbug.franken.de> > ftp://ftp.franken.de/pub/people/tsbogend/strace-alpha-0.01.tar.gz here is a small patch for strace-alpha-0.01 for the "-t" option --- strace.c~ Mon Apr 15 00:37:08 1996 +++ strace.c Tue Apr 30 02:02:28 1996 @@ -1444,7 +1444,8 @@ else if (tflag > 2) tprintf("%ld.%06ld ", tv.tv_sec, tv.tv_usec); else { - strftime(str, sizeof(str), "%T", localtime((time_t *)&tv.tv_sec)); + time_t t = tv.tv_sec; + strftime(str, sizeof(str), "%T", localtime(&t)); if (tflag > 1) tprintf("%s.%06ld ", str, tv.tv_usec); else -- All SCSI disks will from now on ___ _____ be required to send an email notice 0--,| /OOOOOOO\ 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig, \/\/\/\/\/\/\/\/\/ Inst.f.Theoret.Astrophysik // / \\ \ koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^