[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in gnu time 1.7
From: |
Andreas Schwab |
Subject: |
Re: bug in gnu time 1.7 |
Date: |
Wed, 27 Nov 2013 18:45:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Mark Visser <address@hidden> writes:
> diff -ru time-1.7.orig/time.c time-1.7/time.c
> --- time-1.7.orig/time.c 1996-06-13 13:38:21.000000000 -0600
> +++ time-1.7/time.c 2010-10-01 15:49:11.000000000 -0600
> @@ -392,7 +392,7 @@
> ptok ((UL) resp->ru.ru_ixrss) / MSEC_TO_TICKS (v));
> break;
> case 'M': /* Maximum resident set size. */
> - fprintf (fp, "%lu", ptok ((UL) resp->ru.ru_maxrss));
> + fprintf (fp, "%lu", (UL) resp->ru.ru_maxrss);
What about the other uses of ptok?
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."