Re: bug in gnu time 1.7
Andreas Schwab <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Mark Visser <[email protected]> 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, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."