X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fmessages.c;h=ab4c5d4b136556e1343af4b802da3c912ac8a1a0;hb=fa939aae8178b1675e6fa118c7da05ae575f87cd;hp=e6e4dc30d130aa91063f938420bef5ca56195c2a;hpb=86a1073e0bfa608defbfaa43d94a537c5e700efe;p=oweals%2Fbusybox.git diff --git a/libbb/messages.c b/libbb/messages.c index e6e4dc30d..ab4c5d4b1 100644 --- a/libbb/messages.c +++ b/libbb/messages.c @@ -2,27 +2,19 @@ /* * Copyright (C) 1999-2004 by Erik Andersen * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * */ -#include "busybox.h" #include "libbb.h" #ifdef L_full_version - const char * const bb_msg_full_version = BB_BANNER " multi-call binary"; +#ifndef BB_EXTRA_VERSION +#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")" +#else +#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")" +#endif + const char * const libbb_msg_full_version = LIBBB_BANNER; #endif #ifdef L_memory_exhausted const char * const bb_msg_memory_exhausted = "memory exhausted"; @@ -97,7 +89,10 @@ const char * const bb_path_motd_file = MOTD_FILE; const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL; #endif -#ifdef L_dev_null -const char * const bb_dev_null = "dev/null"; +#ifdef L_bb_dev_null +const char * const bb_dev_null = "/dev/null"; #endif +#ifdef L_bb_common_bufsiz1 +char bb_common_bufsiz1[BUFSIZ+1]; +#endif