wok-undigest diff busybox/stuff/busybox-1.22-losetup.u @ rev 1138
Add busybox with "# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 16 02:51:58 2015 +0200 (2015-01-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/busybox/stuff/busybox-1.22-losetup.u Fri Jan 16 02:51:58 2015 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 +keep previous default behaviour 1.5 +--- busybox-1.22.0/util-linux/losetup.c 1.6 ++++ busybox-1.22.0/util-linux/losetup.c 1.7 +@@ -70,7 +70,7 @@ 1.8 + } 1.9 + 1.10 + /* -a */ 1.11 +- if (opt == OPT_a) { 1.12 ++ if (opt == OPT_a || (!opt && !argv[0])) { 1.13 + int n; 1.14 + for (n = 0; n < MAX_LOOP_NUM; n++) { 1.15 + char *s;