kumquat-buildroot/package/lockfile-progs/lockfile-progs-0.1.15-sus3v-legacy.patch
Martin Banky 9793ea5661 lockfile-progs: convert to gentargets and bump to 0.1.15
[Peter: no strip, remove unused _BINARY var]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:35:43 +02:00

12 lines
309 B
Diff

--- /lockfile-progs.orig.c 2007-10-11 10:32:09.000000000 -0300
+++ /lockfile-progs.c 2007-10-11 10:32:28.000000000 -0300
@@ -93,7 +93,7 @@
{ NULL, 0, NULL, 0 }
};
- char *cmd_name = rindex(argv[0], '/');
+ char *cmd_name = strrchr(argv[0], '/');
int mail_cmd_p = 0;
if(cmd_name != NULL) {