mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
30 lines
790 B
Plaintext
30 lines
790 B
Plaintext
*** src/popen.c.bak Fri Sep 12 06:09:30 1997
|
|
--- src/popen.c Fri May 15 21:01:29 1998
|
|
***************
|
|
*** 87,92 ****
|
|
--- 87,93 ----
|
|
*strspl(),
|
|
#endif
|
|
*globerr;
|
|
+ static char *envtz[2] = {"TZ=", NULL};
|
|
#ifdef HAVE_GETRLIMIT
|
|
struct rlimit rlp;
|
|
|
|
***************
|
|
*** 178,184 ****
|
|
setuid(i);
|
|
enable_signaling(); /* we can allow signals once again: kinch */
|
|
/* end CERT suggested fixes */
|
|
! execv(gargv[0], gargv);
|
|
_exit(1);
|
|
}
|
|
/* parent; assume fdopen can't fail... */
|
|
--- 179,185 ----
|
|
setuid(i);
|
|
enable_signaling(); /* we can allow signals once again: kinch */
|
|
/* end CERT suggested fixes */
|
|
! execve(gargv[0], gargv, envtz);
|
|
_exit(1);
|
|
}
|
|
/* parent; assume fdopen can't fail... */
|