diff options
author | Mike Westerhof <mwester@dls.net> | 2006-11-05 15:07:21 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2006-11-05 15:07:21 +0000 |
commit | d363cfd0948774890a159617d60e61f0285c4f1d (patch) | |
tree | 8b649366df8015d74559c8b9d459132dda1f42d4 /packages/busybox/slingbox-1.2.2/lazy_umount.patch | |
parent | f118e621d234318bbe6cb2c1409a072a2d012061 (diff) |
Unslung: slingbox: upgrade slingbox to busybox 1.2.2
Diffstat (limited to 'packages/busybox/slingbox-1.2.2/lazy_umount.patch')
-rw-r--r-- | packages/busybox/slingbox-1.2.2/lazy_umount.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/busybox/slingbox-1.2.2/lazy_umount.patch b/packages/busybox/slingbox-1.2.2/lazy_umount.patch new file mode 100644 index 0000000000..345272b8c3 --- /dev/null +++ b/packages/busybox/slingbox-1.2.2/lazy_umount.patch @@ -0,0 +1,27 @@ +---busybox-1.2.2/util-linux/umount.c~ 2006-11-04 17:59:20.000000000 -0600 ++++ busybox-1.2.2/util-linux/umount.c 2006-11-04 18:03:55.000000000 -0600 +@@ -16,13 +16,14 @@ + #include <errno.h> + #include <getopt.h> + +-#define OPTION_STRING "flDnravd" ++#define OPTION_STRING "flDnravdL" + #define OPT_FORCE 1 + #define OPT_LAZY 2 + #define OPT_DONTFREELOOP 4 + #define OPT_NO_MTAB 8 + #define OPT_REMOUNT 16 + #define OPT_ALL (ENABLE_FEATURE_UMOUNT_ALL ? 32 : 0) ++#define OPT_LINKSYS_LAZY 256 + + int umount_main(int argc, char **argv) + { +@@ -45,6 +46,8 @@ + argc -= optind; + argv += optind; + ++ if (opt & OPT_LINKSYS_LAZY) opt |= OPT_LAZY; /* -L same as -l */ ++ + doForce = MAX((opt & OPT_FORCE), (opt & OPT_LAZY)); + + /* Get a list of mount points from mtab. We read them all in now mostly |