1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/ftp/wu-ftpd+ipv6/files/patch-ad
1998-05-15 17:03:38 +00:00

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... */