X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/4f17fe653b4bf22aa059b5f5fa5678ceebc18a67..0f48302e7a1b532950e310f279a7e4ffdd9a9872:/package/busybox/patches/340-lock_util.patch diff --git a/package/busybox/patches/340-lock_util.patch b/package/busybox/patches/340-lock_util.patch index f832df7d9..c1197e24e 100644 --- a/package/busybox/patches/340-lock_util.patch +++ b/package/busybox/patches/340-lock_util.patch @@ -73,7 +73,6 @@ diff -ruN busybox-1.3.1-old/miscutils/lock.c busybox-1.3.1/miscutils/lock.c +static void exit_unlock(int sig) +{ + flock(fd, LOCK_UN); -+ unlink(file); + exit(0); +} + @@ -136,6 +135,7 @@ diff -ruN busybox-1.3.1-old/miscutils/lock.c busybox-1.3.1/miscutils/lock.c + + return 0; + } ++ return 0; +} + +#ifndef CONFIG_LOCK