[BusyBox] [PATCH] Misplaced ifdefs (mount, fdisk)

Vladimir N. Oleynik dzo at simtreas.ru
Mon Sep 6 11:28:11 UTC 2004


Felipe,

> This patch fixes two misplaced ifdefs:  mount and fdisk applets.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: util-linux/fdisk.c

Ok.

> Index: util-linux/mount.c
> ===================================================================
> RCS file: /var/cvs/busybox/util-linux/mount.c,v
> retrieving revision 1.120
> diff -u -3 -p -Iusage.h -r1.120 mount.c
> --- util-linux/mount.c	3 Aug 2004 00:14:02 -0000	1.120
> +++ util-linux/mount.c	5 Sep 2004 05:52:26 -0000
> @@ -401,14 +401,14 @@ extern int mount_main(int argc, char **a
>  		case 'a':
>  			all = TRUE;
>  			break;
> +#ifdef CONFIG_FEATURE_MTAB_SUPPORT
>  		case 'f':
>  			fakeIt = TRUE;
>  			break;
>  		case 'n':
> -#ifdef CONFIG_FEATURE_MTAB_SUPPORT
>  			useMtab = FALSE;
> -#endif
>  			break;
> +#endif

Heh. This is flip-flop-patch. ;-) Really.
Only recently have made return changing.


--w
vodz



More information about the busybox mailing list