Hi, busybox install -d will create all directories with the owner and mode specified with -o and -m. That is not what GNU coreutils install does. It only set the permissions on the last element in path.
The attatched patch fixes this and save some bytes on the way. with my gcc-3.4.6, i386, hardened uclibc: function old new delta .rodata 171528 171511 -17 install_main 841 697 -144 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-161) Total: -161 bytes text data bss dec hex filename 946668 9118 5304 961090 eaa42 busybox_old 946507 9118 5304 960929 ea9a1 busybox_unstripped I think I sent an install -D implementation earlier, please forget that one. -- Natanael Copa <[EMAIL PROTECTED]>
bb-install.patch
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
