/[smeserver]/rpms/sudo/sme9/sudo-1.8.6p3-sesharg0fix.patch
ViewVC logotype

Contents of /rpms/sudo/sme9/sudo-1.8.6p3-sesharg0fix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 4 19:44:31 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: sudo-1_8_6p3-30_el6_sme, sudo-1_8_6p3-29_el6_9, HEAD
Sudo

1 diff -up sudo-1.8.6p3/src/sesh.c.arg0fix sudo-1.8.6p3/src/sesh.c
2 --- sudo-1.8.6p3/src/sesh.c.arg0fix 2014-05-19 12:47:29.326716729 +0200
3 +++ sudo-1.8.6p3/src/sesh.c 2014-05-19 12:47:51.810798125 +0200
4 @@ -214,6 +214,8 @@ cleanup_0:
5 if (argv[-1][0] == '-') {
6 if ((cp = strrchr(argv[0], '/')) == NULL)
7 cp = argv[0];
8 + else
9 + argv[0] = cp;
10 *cp = '-';
11 }
12 sudo_execve(cmnd, argv, envp, noexec);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed