diff options
Diffstat (limited to 'sys-process/time/files/time-1.7-incorrect_memory_usage.patch')
-rw-r--r-- | sys-process/time/files/time-1.7-incorrect_memory_usage.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sys-process/time/files/time-1.7-incorrect_memory_usage.patch b/sys-process/time/files/time-1.7-incorrect_memory_usage.patch deleted file mode 100644 index ab1f4ddfbd5e..000000000000 --- a/sys-process/time/files/time-1.7-incorrect_memory_usage.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://bugs.launchpad.net/ubuntu/+source/time/+bug/742248 -https://bugs.gentoo.org/332253 - ---- time-1.7/ChangeLog -+++ time-1.7/ChangeLog -@@ -1,3 +1,9 @@ -+Fri Oct 1 00:00:00 2010 Bob Proulx <bob@proulx.com> -+ The struct rusage reports ru_maxrss in kbytes not pages and -+ should not be converted through pages-to-kbytes again. -+ Reported by Sven Hartrumpf. -+ * time.c (summarize): Do not call ptok on ru_maxrss. -+ - Thu Jul 11 12:37:17 1996 David J MacKenzie <djm@catapult.va.pubnix.com> - - * Version 1.7. ---- time-1.7/time.c -+++ time-1.7/time.c -@@ -398,7 +398,7 @@ summarize (fp, fmt, command, resp) - 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); - break; - case 'O': /* Outputs. */ - fprintf (fp, "%ld", resp->ru.ru_oublock); |