Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15824 Details for
Bug 26287
Official OpenAFS patch for src/pinstall/install.c
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
OpenAFS delta pinstall-execve-adhere-to-posix-20030808
pinstall-execve-adhere-to-posix-20030808 (text/plain), 1.64 KB, created by
Steven Jenkins
on 2003-08-09 12:33:07 UTC
(
hide
)
Description:
OpenAFS delta pinstall-execve-adhere-to-posix-20030808
Filename:
MIME Type:
Creator:
Steven Jenkins
Created:
2003-08-09 12:33:07 UTC
Size:
1.64 KB
patch
obsolete
>=================================================================== >RCS file: /cvs/openafs/src/pinstall/install.c,v >retrieving revision 1.21 >retrieving revision 1.22 >diff -u -r1.21 -r1.22 >--- openafs/src/pinstall/install.c 2003/07/25 04:38:03 1.21 >+++ openafs/src/pinstall/install.c 2003/08/08 21:00:09 1.22 >@@ -50,7 +50,7 @@ > #include <afs/param.h> > > RCSID >- ("$Header: /cvs/openafs/src/pinstall/install.c,v 1.21 2003/07/25 04:38:03 shadow Exp $"); >+ ("$Header: /cvs/openafs/src/pinstall/install.c,v 1.22 2003/08/08 21:00:09 shadow Exp $"); > > #include <stdio.h> > #include <pwd.h> >@@ -183,6 +183,9 @@ > { > int pid; > pid_t status; >+ static char *env[] = { >+ 0, >+ }; > static char *strip[] = { > "strip", 0, 0, > }; >@@ -201,7 +204,7 @@ > case 0: /* child */ > copy[1] = iname; > copy[2] = oname; >- execve("/bin/cp", copy, NULL); >+ execve("/bin/cp", copy, env); > perror("/bin/cp"); > exit(1); > >@@ -246,7 +249,7 @@ > #else > #define STRIP_BIN "/bin/strip" > #endif >- execve(STRIP_BIN, strip, NULL); >+ execve(STRIP_BIN, strip, env); > perror(STRIP_BIN); > exit(1); > >@@ -272,6 +275,9 @@ > quickStrip(char *iname, char *oname, int ignored, int copy_only) > { > int pid, status; >+ static char *env[] = { >+ 0, >+ }; > static char *strip[] = { > "strip", 0, 0, > }; >@@ -290,7 +296,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); > >@@ -328,7 +334,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 26287
: 15824