fix a problem with the firewall script (multicast traffic could produce packet loss)
[openwrt.git] / package / busybox / patches / 340-lock_util.patch
index f832df7..c1197e2 100644 (file)
@@ -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);
 +static void exit_unlock(int sig)
 +{
 +      flock(fd, LOCK_UN);
-+      unlink(file);
 +      exit(0);
 +}
 +
 +      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;
 +      }
++      return 0;
 +}
 +
 +#ifndef CONFIG_LOCK
 +}
 +
 +#ifndef CONFIG_LOCK
This page took 0.022229 seconds and 4 git commands to generate.