at 18.09-beta 657 B view raw
1diff -ur libutempter-1.1.6/iface.c libutempter-1.1.6.patched/iface.c 2--- libutempter-1.1.6/iface.c 2010-11-04 18:14:53.000000000 +0100 3+++ libutempter-1.1.6.patched/iface.c 2018-06-06 15:09:11.417755549 +0200 4@@ -60,9 +60,9 @@ 5 _exit(EXIT_FAILURE); 6 } 7 8- execv(path, argv); 9+ execvp(path, argv); 10 #ifdef UTEMPTER_DEBUG 11- fprintf(stderr, "libutempter: execv: %s\n", strerror(errno)); 12+ fprintf(stderr, "libutempter: execvp: %s\n", strerror(errno)); 13 #endif 14 15 while (EACCES == errno) 16@@ -79,7 +79,7 @@ 17 if (setgid(sgid)) 18 break; 19 20- (void) execv(path, argv); 21+ (void) execvp(path, argv); 22 break; 23 } 24 25Only in libutempter-1.1.6.patched: result