summaryrefslogtreecommitdiffstats
path: root/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch')
-rw-r--r--package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch b/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch
new file mode 100644
index 000000000..8cf552ef5
--- /dev/null
+++ b/package/lockfile-progs/lockfile-progs-0.1.11-sus3v-legacy.patch
@@ -0,0 +1,11 @@
+--- /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) {