wok diff busybox/stuff/busybox-1.12.0-zmodules.u @ rev 4937

add/improve TAGS h* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 14:01:36 2010 +0000 (2010-02-16)
parents 3d99ad142611
children 3fd828035bdb
line diff
     1.1 --- a/busybox/stuff/busybox-1.12.0-zmodules.u	Sat Oct 04 14:30:26 2008 +0000
     1.2 +++ b/busybox/stuff/busybox-1.12.0-zmodules.u	Tue Feb 16 14:01:36 2010 +0000
     1.3 @@ -191,3 +191,18 @@
     1.4   	argv += optind;
     1.5   
     1.6   	/* If a version is provided, then that kernel version’s module directory
     1.7 +
     1.8 +--- busybox-1.12.0/modutils/depmod.c
     1.9 ++++ busybox-1.12.0/modutils/depmod.c
    1.10 +@@ -141,6 +141,11 @@
    1.11 + 
    1.12 + 	if (!(option_mask32 & ARG_n)) { /* --dry-run */
    1.13 + 		chp = concat_path_file(moddir, CONFIG_DEFAULT_DEPMOD_FILE);
    1.14 ++		if (option_mask32 & ARG_b) {
    1.15 ++			char *s = concat_path_file(moddir_base, chp);
    1.16 ++			free(chp);
    1.17 ++			chp = s;
    1.18 ++		}
    1.19 + 		filedes = xfopen_for_write(chp);
    1.20 + 		if (ENABLE_FEATURE_CLEAN_UP)
    1.21 + 			free(chp);