hush: print cd error to stderr; use fopen_or_warn in builtin_source;
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 6 Apr 2009 12:04:42 +0000 (12:04 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 6 Apr 2009 12:04:42 +0000 (12:04 -0000)
commitbfbc971f9f96861abd80b977fb86e2791541bea8
tree7319cf070d58a3a27623432657cac8017be3cb9f
parentb0a6478eefe3894d16a15f8a23908135e7c97aa7
hush: print cd error to stderr; use fopen_or_warn in builtin_source;
 prepare builtin_unset for function support
libbb: do not clear errno in fopen_or_warn

function                                             old     new   delta
builtin_unset                                        242     271     +29
fopen_or_warn                                         42      31     -11
builtin_cd                                            90      74     -16
builtin_source                                        89      72     -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 29/-44)            Total: -15 bytes
libbb/wfopen.c
shell/hush.c