summaryrefslogtreecommitdiff
path: root/libbb/mode_string.c
Commit message (Collapse)AuthorAgeFilesLines
* libbb: clarify what bb_mode_string() generatesDenys Vlasenko2021-09-171-11/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: ensure mode_string is NUL terminatedRon Yorston2021-09-171-9/+3
| | | | | | | | | | | If the mode_string array is no longer static we can't rely on it being NUL terminated. function old new delta bb_mode_string 115 118 +3 Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: eliminate a static data array in bb_mode_string()Denys Vlasenko2021-09-171-4/+2
| | | | | | | | | | | | | | | | function old new delta print_stat 861 869 +8 header_verbose_list_ar 73 77 +4 display_single 975 979 +4 header_verbose_list 237 239 +2 bb_mode_string 124 115 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 18/-9) Total: 9 bytes text data bss dec hex filename 1043136 559 5052 1048747 1000ab busybox_old 1043153 559 5020 1048732 10009c busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nillyDenys Vlasenko2020-11-301-1/+1
| | | | | | | | text data bss dec hex filename 1021988 559 5052 1027599 fae0f busybox_old 1021236 559 5052 1026847 fab1f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* do not include <sys/stat.h> just before "libbb.h", it's there alreadyDenys Vlasenko2017-10-051-6/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace and comment format fixes, no code changesDenys Vlasenko2017-10-051-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: slap on a few ALIGN1/2s where appropriateDenys Vlasenko2016-04-221-2/+2
| | | | | | | | | | The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map" text data bss dec hex filename 829901 4086 1904 835891 cc133 busybox_before 829665 4086 1904 835655 cc047 busybox Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* taskset: fix some careless code in both fancy and non-fancy cases.Denis Vlasenko2008-07-111-2/+2
| | | | | -5 bytes for fancy, +5 for non-fancy
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-2/+2
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-2/+2
| | | | | | | | | 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
* - the archivers expect mode to be a mode_t, so do not trip signed/unsigned ↵Bernhard Reutner-Fischer2007-01-221-2/+2
| | | | conversion purposefully
* Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate."Robert P. J. Day"2006-07-101-1/+0
|
* - move buffer allocation schemes to libbb.hBernhard Reutner-Fischer2006-04-031-13/+3
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* Fix a bug reported by junkio@cox.net involving the mode_chars index.Manuel Novoa III2003-08-141-1/+6
|
* Major coreutils update.Manuel Novoa III2003-03-191-47/+103
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-10/+6
| | | | -Erik
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-0/+82
files. Clean up the resulting damage and fix up the makefile. -Erik