Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
| 2 | /* |
| 3 | * Copyright (C) 2001 by Lineo, inc. |
| 4 | * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | * |
| 20 | */ |
| 21 | |
Mark Whitley | c29c44c | 2001-04-25 18:06:21 +0000 | [diff] [blame] | 22 | #include "libbb.h" |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 23 | |
| 24 | #ifdef L_full_version |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 25 | const char * const full_version = BB_BANNER " multi-call binary"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 26 | #endif |
| 27 | #ifdef L_name_too_long |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 28 | const char * const name_too_long = "file name too long"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 29 | #endif |
| 30 | |
| 31 | #ifdef L_omitting_directory |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 32 | const char * const omitting_directory = "%s: omitting directory"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 33 | #endif |
| 34 | #ifdef L_not_a_directory |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 35 | const char * const not_a_directory = "%s: not a directory"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 36 | #endif |
| 37 | #ifdef L_memory_exhausted |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 38 | const char * const memory_exhausted = "memory exhausted"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 39 | #endif |
| 40 | #ifdef L_invalid_date |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 41 | const char * const invalid_date = "invalid date `%s'"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 42 | #endif |
| 43 | #ifdef L_invalid_option |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 44 | const char * const invalid_option = "invalid option -- %c"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 45 | #endif |
| 46 | #ifdef L_io_error |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 47 | const char * const io_error = "%s: input/output error -- %s"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 48 | #endif |
| 49 | #ifdef L_dash_dash_help |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 50 | const char * const dash_dash_help = "--help"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 51 | #endif |
| 52 | #ifdef L_write_error |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 53 | const char * const write_error = "Write Error"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 54 | #endif |
| 55 | #ifdef L_too_few_args |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 56 | const char * const too_few_args = "too few arguments"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 57 | #endif |
| 58 | #ifdef L_name_longer_than_foo |
Eric Andersen | 6f34394 | 2001-04-30 18:08:03 +0000 | [diff] [blame] | 59 | const char * const name_longer_than_foo = "Names longer than %d chars not supported."; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 60 | #endif |
Eric Andersen | 5f265b7 | 2001-05-11 16:58:46 +0000 | [diff] [blame] | 61 | #ifdef L_unknown |
| 62 | const char * const unknown = "(unknown)"; |
| 63 | #endif |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 64 | |
Eric Andersen | 7467c8d | 2001-07-12 20:26:32 +0000 | [diff] [blame] | 65 | #ifdef L_can_not_create_raw_socket |
| 66 | const char * const can_not_create_raw_socket = "can`t create raw socket"; |
| 67 | #endif |