aboutsummaryrefslogtreecommitdiff
path: root/libbb/messages.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libbb/message.c: convert /dev/null to NULNguyễn Thái Ngọc Duy2009-04-231-0/+5
|
* adapt it to be buildableNguyễn Thái Ngọc Duy2009-04-231-0/+2
|
* procps: remove all global variablesvda2007-04-191-1/+1
| | | | | | | | | | | text data bss dec hex filename 1462 14 24 1500 5dc busybox.t2/procps/ps.o 1484 0 0 1484 5cc busybox.t3/procps/ps.o 3122 0 252 3374 d2e busybox.t1/procps/top.o 3117 0 0 3117 c2d busybox.t3/procps/top.o git-svn-id: svn://busybox.net/trunk/busybox@18497 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: Improve ptr_to_globals trick, allowing gccvda2007-03-151-1/+2
| | | | | | | to optimize better. -480 bytes. git-svn-id: svn://busybox.net/trunk/busybox@18121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modify ptr_to_globals trick so that we do not violatevda2007-03-151-1/+2
| | | | | | | type safety (well, sort of ;)) git-svn-id: svn://busybox.net/trunk/busybox@18116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: reduce global data footprint, part 3vda2007-03-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18092 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: reduce global data footprint, part 2vda2007-03-141-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18091 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c filevda2007-01-221-0/+3
| | | | | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. git-svn-id: svn://busybox.net/trunk/busybox@17461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small size optimizationsvda2007-01-121-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar:vda2006-11-241-1/+0
| | | | | | | | | | | | * unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777 git-svn-id: svn://busybox.net/trunk/busybox@16650 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_INET_default[] is really just a const "default",vda2006-11-211-0/+2
| | | | | | | nothing INET-specific git-svn-id: svn://busybox.net/trunk/busybox@16612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-051-87/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change char *string = "foo" -> char string[] = "foo"vda2006-09-191-25/+25
| | | | | | | | | | | | | | | | | | | | | function old new delta xsetenv 45 44 -1 iproute_list_or_flush 1834 1833 -1 ipaddr_modify 1915 1914 -1 ipaddr_list_or_flush 1861 1860 -1 invarg 39 38 -1 do_set 1259 1258 -1 bb_verror_msg 268 267 -1 create_icmp_socket 142 140 -2 create_icmp6_socket 142 140 -2 bb_full_fd_action 324 322 -2 bb_path_mtab_file 10 - -10 .rodata 214796 214720 -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99) Total: -99 bytes git-svn-id: svn://busybox.net/trunk/busybox@16145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another whack at scripts/individual. Now builds 212 applets.landley2006-08-091-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate.rpjday2006-07-101-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse strings and messages. Saves about 600Baldot2006-06-071-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).aldot2006-05-261-0/+14
| | | | | | | - fix last.c to also look at the double-underscore UT_ defines. git-svn-id: svn://busybox.net/trunk/busybox@15193 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - include proper headers.aldot2006-04-051-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14756 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move buffer allocation schemes to libbb.haldot2006-04-031-13/+1
| | | | | | | - include the correct headers: applets need busybox.h while lib* need libbb.h git-svn-id: svn://busybox.net/trunk/busybox@14739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* moved BB_BANNER to applets/version.c file: make kernel like version, vodz2006-02-161-1/+6
| | | | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h git-svn-id: svn://busybox.net/trunk/busybox@14080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* common BUFSIZ BSS buffer, small reduce code, data and bssvodz2005-10-151-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage bb_dev_nullvodz2005-10-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_dev_nullvodz2005-10-121-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add bb_msg_read_errorandersen2005-04-161-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as onebug12003-09-021-0/+4
| | | | | | | | constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-35/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz:andersen2002-10-101-1/+1
| | | | | | | | | | | | New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Port over the last of the tinylogin appletsandersen2002-06-231-0/+36
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-2/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2001-07-121-0/+3
| | | | | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a segfault in lash, hush, and cmdedit. Each of these usedandersen2001-05-111-0/+3
| | | | | | | | | xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These messages can be .rodata, so make them even more const.andersen2001-04-301-12/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libbb.h now includes ../busybox.h. This way, files in libbb that havemarkw2001-04-251-1/+1
| | | | | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this. git-svn-id: svn://busybox.net/trunk/busybox@2439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-251-0/+61
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277