Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312771 Details for
Bug 417181
sys-process/pidof-bsd-20050501-r3 does not use valid ANSI C
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal to fix build failure
pidof-bsd-fix-return.patch (text/plain), 427 bytes, created by
Richard Yao (RETIRED)
on 2012-05-23 00:07:27 UTC
(
hide
)
Description:
Patch proposal to fix build failure
Filename:
MIME Type:
Creator:
Richard Yao (RETIRED)
Created:
2012-05-23 00:07:27 UTC
Size:
427 bytes
patch
obsolete
>--- pidof.c.orig 2012-05-22 19:58:29.883164290 -0400 >+++ pidof.c 2012-05-22 20:01:07.063106029 -0400 >@@ -56,10 +56,10 @@ get_pid_of_process(const char *process_n > char *pname = NULL; > > if (process_name == NULL) >- return; >+ return 0; > > if ((pname = strdup(basename(process_name))) == NULL) >- return; >+ return 0; > > if ((kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY, NULL)) == NULL) { > free(pname);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 417181
:
312769
| 312771