Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20877 Details for
Bug 31671
pinstall patch for OpenAFS fails
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
execve patch for 1.2.10
openafs-pinstall-execve-1.2.10.patch (text/plain), 1.21 KB, created by
Ian
on 2003-11-17 14:15:06 UTC
(
hide
)
Description:
execve patch for 1.2.10
Filename:
MIME Type:
Creator:
Ian
Created:
2003-11-17 14:15:06 UTC
Size:
1.21 KB
patch
obsolete
>--- openafs/src/pinstall/install.c 2003-07-25 04:40:16.000000000 +0000 >+++ openafs/src/pinstall/install.c 2003-11-17 21:47:15.000000000 +0000 >@@ -172,6 +172,9 @@ > char *iname, *oname; { > int pid; > pid_t status; >+ static char *env[] = { >+ 0, >+ }; > static char *strip[] = { > "strip", 0, 0, > }; >@@ -190,7 +193,7 @@ > case 0: /* child */ > copy[1] = iname; > copy[2] = oname; >- execve("/bin/cp", copy, (char **)0); >+ execve("/bin/cp", copy, env); > perror("/bin/cp"); > exit(1); > >@@ -236,7 +239,7 @@ > #else > #define STRIP_BIN "/bin/strip" > #endif >- execve(STRIP_BIN, strip, (char **)0); >+ execve(STRIP_BIN, strip, env); > perror(STRIP_BIN); > exit(1); > >@@ -281,6 +284,9 @@ > quickStrip (iname, oname, ignored, copy_only) > char *iname, *oname; { > int pid, status; >+ static char *env[] = { >+ 0, >+ }; > static char *strip[] = { > "strip", 0, 0, > }; >@@ -299,7 +305,7 @@ > case 0: /* child */ > copy[1] = iname; > copy[2] = oname; >- execve("/bin/cp", copy, 0); >+ execve("/bin/cp", copy, env); > perror("/bin/cp"); > exit(1); > >@@ -337,7 +343,7 @@ > > case 0: /* child */ > strip[1] = oname; >- execve("/bin/strip", strip, 0); >+ execve("/bin/strip", strip, env); > perror("/bin/strip"); > exit(1); >
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 31671
:
19582
| 20877