mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Run /bin/ls always with TZ=
This commit is contained in:
parent
08ac5318ac
commit
f107421395
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10998
29
ftp/wu-ftpd+ipv6/files/patch-ad
Normal file
29
ftp/wu-ftpd+ipv6/files/patch-ad
Normal file
@ -0,0 +1,29 @@
|
||||
*** 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... */
|
29
ftp/wu-ftpd/files/patch-ad
Normal file
29
ftp/wu-ftpd/files/patch-ad
Normal file
@ -0,0 +1,29 @@
|
||||
*** 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... */
|
Loading…
x
Reference in New Issue
Block a user