* [gentoo-commits] repo/gentoo:master commit in: sys-process/unixtop/files/
@ 2017-02-03 21:37 Robin H. Johnson
0 siblings, 0 replies; only message in thread
From: Robin H. Johnson @ 2017-02-03 21:37 UTC (permalink / raw
To: gentoo-commits
commit: 986a8b82d59d77fd1634224f80efc2aadd33fec6
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Feb 3 14:42:17 2017 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Feb 3 21:37:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=986a8b82
sys-process/unixtop: remove unused patch
(cherry picked from commit 296b25d4295be555ba76288d2a9332860e571c8e)
Fixes: https://github.com/gentoo/gentoo/pull/3790
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
.../files/unixtop-3.8_beta1-memleak-fix.patch | 28 ----------------------
1 file changed, 28 deletions(-)
diff --git a/sys-process/unixtop/files/unixtop-3.8_beta1-memleak-fix.patch b/sys-process/unixtop/files/unixtop-3.8_beta1-memleak-fix.patch
deleted file mode 100644
index 1307506..00000000
--- a/sys-process/unixtop/files/unixtop-3.8_beta1-memleak-fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-http://defect.opensolaris.org/bz/show_bug.cgi?id=5482
-https://sourceforge.net/tracker/?func=detail&aid=2593511&group_id=72892&atid=536042
-
---- top-3.8beta1/machine/m_sunos5.c
-+++ top-3.8beta1/machine/m_sunos5.c
-@@ -2059,11 +2059,11 @@
- /* make sure we have a valid descriptor and the file's current size */
- if (fd >= 0 && fstat(fd, &st) != -1)
- {
-- char *p;
-+ char *p, *p0;
- int i;
-
- /* read the whole file */
-- p = malloc(st.st_size);
-+ p = p0 = malloc(st.st_size);
- (void)pread(fd, p, st.st_size, 0);
-
- /* cache the file descriptor if we can */
-@@ -2148,7 +2148,7 @@
- op->oldtime = TIMESPEC_TO_DOUBLE(lwpp->pr_time);
- op->seen = 1;
- }
-- free(p);
-+ free(p0);
- }
- #endif
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-03 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 21:37 [gentoo-commits] repo/gentoo:master commit in: sys-process/unixtop/files/ Robin H. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox