aboutsummaryrefslogtreecommitdiff
path: root/libbb/messages.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-03-19 09:13:01 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-03-19 09:13:01 +0000
commitcad5364599eb5062d59e0c397ed638ddd61a8d5d (patch)
treea318d0f03aa076c74b576ea45dc543a5669e8e91 /libbb/messages.c
parente01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff)
downloadbusybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz
busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.bz2
busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip
Major coreutils update.
Diffstat (limited to 'libbb/messages.c')
-rw-r--r--libbb/messages.c59
1 files changed, 24 insertions, 35 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index cc7e2146c..e5ffbf7f7 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -23,82 +23,71 @@
23#include "libbb.h" 23#include "libbb.h"
24 24
25#ifdef L_full_version 25#ifdef L_full_version
26 const char * const full_version = BB_BANNER " multi-call binary"; 26 const char * const bb_msg_full_version = BB_BANNER " multi-call binary";
27#endif
28#ifdef L_name_too_long
29 const char * const name_too_long = "file name too long";
30#endif
31
32#ifdef L_omitting_directory
33 const char * const omitting_directory = "%s: omitting directory";
34#endif
35#ifdef L_not_a_directory
36 const char * const not_a_directory = "%s: not a directory";
37#endif 27#endif
38#ifdef L_memory_exhausted 28#ifdef L_memory_exhausted
39 const char * const memory_exhausted = "memory exhausted"; 29 const char * const bb_msg_memory_exhausted = "memory exhausted";
40#endif 30#endif
41#ifdef L_invalid_date 31#ifdef L_invalid_date
42 const char * const invalid_date = "invalid date `%s'"; 32 const char * const bb_msg_invalid_date = "invalid date `%s'";
43#endif
44#ifdef L_invalid_option
45 const char * const invalid_option = "invalid option -- %c";
46#endif 33#endif
47#ifdef L_io_error 34#ifdef L_io_error
48 const char * const io_error = "%s: input/output error -- %m"; 35 const char * const bb_msg_io_error = "%s: input/output error -- %m";
49#endif
50#ifdef L_dash_dash_help
51 const char * const dash_dash_help = "--help";
52#endif 36#endif
53#ifdef L_write_error 37#ifdef L_write_error
54 const char * const write_error = "Write Error"; 38 const char * const bb_msg_write_error = "Write Error";
55#endif
56#ifdef L_too_few_args
57 const char * const too_few_args = "too few arguments";
58#endif 39#endif
59#ifdef L_name_longer_than_foo 40#ifdef L_name_longer_than_foo
60 const char * const name_longer_than_foo = "Names longer than %d chars not supported."; 41 const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
61#endif 42#endif
62#ifdef L_unknown 43#ifdef L_unknown
63 const char * const unknown = "(unknown)"; 44 const char * const bb_msg_unknown = "(unknown)";
64#endif 45#endif
65
66#ifdef L_can_not_create_raw_socket 46#ifdef L_can_not_create_raw_socket
67 const char * const can_not_create_raw_socket = "can`t create raw socket"; 47 const char * const bb_msg_can_not_create_raw_socket = "can`t create raw socket";
48#endif
49#ifdef L_perm_denied_are_you_root
50 const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)";
51#endif
52#ifdef L_msg_standard_input
53 const char * const bb_msg_standard_input = "standard input";
54#endif
55#ifdef L_msg_standard_output
56 const char * const bb_msg_standard_output = "standard output";
68#endif 57#endif
69 58
70#ifdef L_passwd_file 59#ifdef L_passwd_file
71#define PASSWD_FILE "/etc/passwd" 60#define PASSWD_FILE "/etc/passwd"
72const char * const passwd_file = PASSWD_FILE; 61const char * const bb_path_passwd_file = PASSWD_FILE;
73#endif 62#endif
74 63
75#ifdef L_shadow_file 64#ifdef L_shadow_file
76#define SHADOW_FILE "/etc/shadow" 65#define SHADOW_FILE "/etc/shadow"
77const char * const shadow_file = SHADOW_FILE; 66const char * const bb_path_shadow_file = SHADOW_FILE;
78#endif 67#endif
79 68
80#ifdef L_group_file 69#ifdef L_group_file
81#define GROUP_FILE "/etc/group" 70#define GROUP_FILE "/etc/group"
82const char * const group_file = GROUP_FILE; 71const char * const bb_path_group_file = GROUP_FILE;
83#endif 72#endif
84 73
85#ifdef L_gshadow_file 74#ifdef L_gshadow_file
86#define GSHADOW_FILE "/etc/gshadow" 75#define GSHADOW_FILE "/etc/gshadow"
87const char * const gshadow_file = GSHADOW_FILE; 76const char * const bb_path_gshadow_file = GSHADOW_FILE;
88#endif 77#endif
89 78
90#ifdef L_nologin_file 79#ifdef L_nologin_file
91#define NOLOGIN_FILE "/etc/nologin" 80#define NOLOGIN_FILE "/etc/nologin"
92const char * const nologin_file = NOLOGIN_FILE; 81const char * const bb_path_nologin_file = NOLOGIN_FILE;
93#endif 82#endif
94 83
95#ifdef L_securetty_file 84#ifdef L_securetty_file
96#define SECURETTY_FILE "/etc/securetty" 85#define SECURETTY_FILE "/etc/securetty"
97const char * const securetty_file = SECURETTY_FILE; 86const char * const bb_path_securetty_file = SECURETTY_FILE;
98#endif 87#endif
99 88
100#ifdef L_motd_file 89#ifdef L_motd_file
101#define MOTD_FILE "/etc/motd" 90#define MOTD_FILE "/etc/motd"
102const char * const motd_file = MOTD_FILE; 91const char * const bb_path_motd_file = MOTD_FILE;
103#endif 92#endif
104 93