Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: Re: Linux-1.3.95 - strace for alpha
Date: Tue, 30 Apr 1996 02:06:00 +0200 (MET DST)	[thread overview]
Message-ID: <9604300613.AA05566@nova.tat.physik.uni-tuebingen.de> (raw)
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                     ^^^^^       ^^^^^

  reply	other threads:[~1996-04-30  0:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.91.960426154759.410E-100000@linux.cs.Helsinki.FI>
1996-04-26 21:43 ` Linux-1.3.95 - strace for alpha Thomas Bogendoerfer
1996-04-30  0:06   ` Harald Koenig [this message]
1996-04-25 22:06 Linux-1.3.95 - spelling fixes Thomas Bogendoerfer
1996-04-26 12:52 ` Linux-1.3.95 - strace for alpha Linus Torvalds
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox