aboutsummaryrefslogtreecommitdiff
path: root/libbb/messages.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: add get_busybox_exec_path(), which is bb_busybox_exec_pathNguyễn Thái Ngọc Duy2010-04-201-0/+4
| | | | | | | This function will become bb_busybox_exec_path because there is no fixed installation location on Windows. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
* libbb: skip utmp part in messages.c on WindowsNguyễn Thái Ngọc Duy2010-04-191-0/+2
| | | | Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
* ntpd: and real handling for -N, show usage w/o options; trim textDenys Vlasenko2009-11-251-1/+2
| | | | | | | | | | | | | | | | | | | function old new delta ntp_init 317 348 +31 bb_msg_you_must_be_root - 17 +17 xsocket 66 76 +10 changepath 195 194 -1 bb_msg_perm_denied_are_you_root 35 34 -1 send_tree 355 353 -2 count_lines 74 72 -2 must_be_root 17 - -17 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/4 up/down: 58/-23) Total: 35 bytes text data bss dec hexfilename 832873 441 7548 840862 cd49ebusybox_old 832839 441 7548 840828 cd47cbusybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-4/+0
|
* remove trailing whitespaceDenis Vlasenko2007-10-141-1/+1
|
* libbb: make const_int_0 reside in rodataDenis Vlasenko2007-09-271-1/+3
|
* libbb: align bb_common_bufsiz1 to "long long"Denis Vlasenko2007-09-271-1/+4
|
* messages: by popular request allow PATH to be customized at build timeDenis Vlasenko2007-09-071-7/+16
| | | | | mount: smallish code shrink
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-27/+27
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* *: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko2007-06-131-2/+1
| | | | | | | | | | | | correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Marginal size difference: text data bss dec hex filename 679119 2700 15632 697451 aa46b busybox_old 679091 2700 15632 697423 aa44f busybox_unstripped
* remove nearly-duplicate PATHs in several placesDenis Vlasenko2007-06-121-1/+1
| | | | | | | | | | | | | | function old new delta bb_PATH_root_path - 35 +35 varunset 60 58 -2 arith 2042 2033 -9 bb_default_root_login_path 30 - -30 .rodata 128794 128762 -32 which_main 152 117 -35 defpathvar 40 - -40 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/4 up/down: 35/-148) Total: -113 bytes
* login: make /etc/nologin support configurable. -240 bytes if not selected.Denis Vlasenko2007-06-121-2/+0
|
* A few more string duplicates found & eliminatedDenis Vlasenko2007-06-121-0/+4
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 679693 2700 15632 698025 aa6a9 busybox_old 679523 2700 15632 697855 aa5ff busybox_unstripped
* make busybox --install work even if /proc/self/exe doesn't existDenis Vlasenko2007-06-081-1/+2
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 680095 2704 15648 698447 aa84f busybox_old 680099 2704 15648 698451 aa853 busybox_unstripped
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-1/+1
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* procps: remove all global variablesDenis Vlasenko2007-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
* gzip: Improve ptr_to_globals trick, allowing gccDenis Vlasenko2007-03-151-1/+2
| | | | to optimize better. -480 bytes.
* modify ptr_to_globals trick so that we do not violateDenis Vlasenko2007-03-151-1/+2
| | | | type safety (well, sort of ;))
* gzip: reduce global data footprint, part 3Denis Vlasenko2007-03-141-1/+1
|
* gzip: reduce global data footprint, part 2Denis Vlasenko2007-03-141-0/+2
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-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.
* random small size optimizationsDenis Vlasenko2007-01-121-0/+1
|
* tar:Denis Vlasenko2006-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
* bb_INET_default[] is really just a const "default",Denis Vlasenko2006-11-211-0/+2
| | | | nothing INET-specific
* build system overhaulDenis Vlasenko2006-10-051-87/+20
|
* change char *string = "foo" -> char string[] = "foo"Denis Vlasenko2006-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
* Another whack at scripts/individual. Now builds 212 applets.Rob Landley2006-08-091-3/+5
|
* Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate."Robert P. J. Day"2006-07-101-1/+0
|
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-1/+7
|
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer2006-05-261-0/+14
| | | | - fix last.c to also look at the double-underscore UT_ defines.
* - include proper headers.Bernhard Reutner-Fischer2006-04-051-1/+0
|
* - move buffer allocation schemes to libbb.hBernhard Reutner-Fischer2006-04-031-13/+1
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-1/+6
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-0/+3
|
* usage bb_dev_null"Vladimir N. Oleynik"2005-10-121-2/+2
|
* bb_dev_null"Vladimir N. Oleynik"2005-10-121-0/+4
|
* Add bb_msg_read_errorEric Andersen2005-04-161-0/+3
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath2003-09-021-0/+4
| | | | | constant. Vodz last_patch_107
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-35/+24
|
* last_patch61 from vodz:Eric 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.
* Port over the last of the tinylogin appletsEric Andersen2002-06-231-0/+36
| | | | -Erik
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-2/+3
| | | | -Erik
* Patch from vodz:Eric Andersen2001-07-121-0/+3
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen2001-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
* These messages can be .rodata, so make them even more const.Eric Andersen2001-04-301-12/+12
| | | | -Erik
* libbb.h now includes ../busybox.h. This way, files in libbb that haveMark Whitley2001-04-251-1/+1
| | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this.
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric 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