aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-22 22:22:53 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-23 04:44:35 +1000
commit6a69f25fd78e908dfd728f4b892bf967447b1798 (patch)
tree97defa28682e08662453e8f353ec07b8e3180a32
parent2dfe91e03f98f779b784cc28f75f41d4c9acf208 (diff)
downloadbusybox-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.c5
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";
38const char bb_path_securetty_file[] = "/etc/securetty"; 38const char bb_path_securetty_file[] = "/etc/securetty";
39const char bb_path_motd_file[] = "/etc/motd"; 39const char bb_path_motd_file[] = "/etc/motd";
40const char bb_default_login_shell[] = LIBBB_DEFAULT_LOGIN_SHELL; 40const 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 */
43const char bb_dev_null[] = "nul";
44#else
41const char bb_dev_null[] = "/dev/null"; 45const char bb_dev_null[] = "/dev/null";
46#endif
42 47
43const int const_int_0; 48const int const_int_0;
44const int const_int_1 = 1; 49const int const_int_1 = 1;