diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-04-22 22:22:53 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-04-23 04:44:35 +1000 |
commit | 6a69f25fd78e908dfd728f4b892bf967447b1798 (patch) | |
tree | 97defa28682e08662453e8f353ec07b8e3180a32 | |
parent | 2dfe91e03f98f779b784cc28f75f41d4c9acf208 (diff) | |
download | busybox-w32-6a69f25fd78e908dfd728f4b892bf967447b1798.tar.gz busybox-w32-6a69f25fd78e908dfd728f4b892bf967447b1798.tar.bz2 busybox-w32-6a69f25fd78e908dfd728f4b892bf967447b1798.zip |
libbb/message.c: convert /dev/null to NUL
-rw-r--r-- | libbb/messages.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index c9a9d7387..8a242e21b 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -38,7 +38,12 @@ const char bb_path_nologin_file[] = "/etc/nologin"; | |||
38 | const char bb_path_securetty_file[] = "/etc/securetty"; | 38 | const char bb_path_securetty_file[] = "/etc/securetty"; |
39 | const char bb_path_motd_file[] = "/etc/motd"; | 39 | const char bb_path_motd_file[] = "/etc/motd"; |
40 | const char bb_default_login_shell[] = LIBBB_DEFAULT_LOGIN_SHELL; | 40 | const char bb_default_login_shell[] = LIBBB_DEFAULT_LOGIN_SHELL; |
41 | #ifdef __MINGW32__ | ||
42 | /* this one is only used in diff and ash at the moment */ | ||
43 | const char bb_dev_null[] = "nul"; | ||
44 | #else | ||
41 | const char bb_dev_null[] = "/dev/null"; | 45 | const char bb_dev_null[] = "/dev/null"; |
46 | #endif | ||
42 | 47 | ||
43 | const int const_int_0; | 48 | const int const_int_0; |
44 | const int const_int_1 = 1; | 49 | const int const_int_1 = 1; |