Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 83745 Details for
Bug 128554
procps-3.2.6 - top doesnt exit clean
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
top free patch
procps-3.2.6-free.patch (text/plain), 726 bytes, created by
Bernd Buschinski
on 2006-04-02 12:26:39 UTC
(
hide
)
Description:
top free patch
Filename:
MIME Type:
Creator:
Bernd Buschinski
Created:
2006-04-02 12:26:39 UTC
Size:
726 bytes
patch
obsolete
>--- top.c 2005-10-30 05:05:28.000000000 +0000 >+++ top.c 2006-04-02 21:16:29.000000000 +0000 >@@ -1080,7 +1080,8 @@ > #define PTRsz sizeof(proc_t *) > #define ENTsz sizeof(proc_t) > static unsigned savmax = 0; // first time, Bypass: (i) >- proc_t *ptsk = (proc_t *)-1; // first time, Force: (ii) >+ proc_t *ptsk = NULL; >+ ptsk = (proc_t *)-1; // first time, Force: (ii) > unsigned curmax = 0; // every time (jeeze) > PROCTAB* PT; > static int show_threads_was_enabled = 0; // optimization >@@ -1174,6 +1175,7 @@ > } > // this frame's end, but not necessarily end of allocated space > table[curmax]->tid = -1; >+ if (ptsk) free(ptsk); > return table; > > #undef PTRsz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 128554
: 83745