diff options
author | Rob Landley <rob@landley.net> | 2005-05-01 00:22:03 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-05-01 00:22:03 +0000 |
commit | 8445a9ff99f04cad8845a1aed6ab17737f2d985a (patch) | |
tree | f31c09bf14817ee84ae6fbc247f0c62152fff7e7 /libbb/setup_environment.c | |
parent | 6624daeb4d040a39ad7d6b66ff11339c710d0f3d (diff) | |
download | busybox-w32-8445a9ff99f04cad8845a1aed6ab17737f2d985a.tar.gz busybox-w32-8445a9ff99f04cad8845a1aed6ab17737f2d985a.tar.bz2 busybox-w32-8445a9ff99f04cad8845a1aed6ab17737f2d985a.zip |
On Tuesday 19 April 2005 21:10, Tito wrote and today added:
> Hi,
> this is a first attempt of size optimization for zcip taking into account all
> the hints given so far on the list.
> I've applied just the more obvious busyboxifications so maybe it could be
> optimized more.
BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */
as both were rather confusing for a newbie like me. ;-)
Sorry to the author for that.
I know that this makes mantaining the code easier, but I'm simple minded....
Diffstat (limited to 'libbb/setup_environment.c')
-rw-r--r-- | libbb/setup_environment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/setup_environment.c b/libbb/setup_environment.c index aeb285a53..046ecea34 100644 --- a/libbb/setup_environment.c +++ b/libbb/setup_environment.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #define DEFAULT_LOGIN_PATH "/bin:/usr/bin" | 42 | #define DEFAULT_LOGIN_PATH "/bin:/usr/bin" |
43 | #define DEFAULT_ROOT_LOGIN_PATH "/usr/sbin:/bin:/usr/bin:/sbin" | 43 | #define DEFAULT_ROOT_LOGIN_PATH "/usr/sbin:/bin:/usr/bin:/sbin" |
44 | 44 | ||
45 | static void xsetenv ( const char *key, const char *value ) | 45 | void xsetenv ( const char *key, const char *value ) |
46 | { | 46 | { |
47 | if ( setenv ( key, value, 1 )) | 47 | if ( setenv ( key, value, 1 )) |
48 | bb_error_msg_and_die (bb_msg_memory_exhausted); | 48 | bb_error_msg_and_die (bb_msg_memory_exhausted); |