wok-current diff busybox/stuff/busybox-1.22-losetup.u @ rev 15994

jpeg: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 15:43:07 2014 +0100 (2014-03-02)
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	Sun Mar 02 15:43:07 2014 +0100
     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;