aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* stat: code shrink; stop using bss; stop using strncat incorrectlyDenis Vlasenko2007-10-051-94/+97
| | | | | | | | | | | | | | | | | function old new delta printfs - 28 +28 strcatc - 26 +26 human_time 41 44 +3 print_it 229 219 -10 buf 30 - -30 print_statfs 420 358 -62 print_stat 1089 921 -168 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/3 up/down: 57/-270) Total: -213 bytes text data bss dec hex filename 771105 1029 9552 781686 bed76 busybox_old 770892 1029 9520 781441 bec81 busybox_unstripped
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-3/+3
|
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-4/+4
| | | | | | | | | 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
* stat: fix option -Z segv (bug 1454)Denis Vlasenko2007-08-091-5/+11
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* style fixesDenis Vlasenko2007-04-131-34/+34
|
* add some missed statics on constant objects.Denis Vlasenko2007-04-081-7/+7
| | | | | | | | | | fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped
* - remove superfluous bss user (flags) and manually unswitch some areas:Bernhard Reutner-Fischer2007-04-041-138/+92
| | | | | | text data bss dec hex filename 4517 0 34 4551 11c7 stat.o.oorig 4300 0 30 4330 10ea stat.o
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-201-2/+2
|
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko2007-03-101-16/+153
|
* syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko2007-02-111-2/+2
| | | | libbb: rename xgetcwd and xreadlink
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* httpd: fix cgi-bin/index.cgi support, add example of it,Denis Vlasenko2006-11-211-31/+37
| | | | | stat: fix end-of-line if format is specified (wasn't printing it), fix %z (time) format to match coreutils 6.3
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-13/+1
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-1/+1
|
* - typo: s/derefernce/dereference/gBernhard Reutner-Fischer2006-04-181-2/+2
| | | | Thanks to P.J. Day.
* - use C99 %j format to print intmax.Bernhard Reutner-Fischer2006-04-121-16/+16
| | | | Closes bugs #802 and #743
* - include inttypes.h as pointed out by Jason Schoon.Bernhard Reutner-Fischer2006-04-051-17/+4
| | | | - use shorter boilerplate and switch to USE_FEATURE_STAT_FORMAT while at it.
* - use proper macros to print intmax_t.Bernhard Reutner-Fischer2006-04-051-3/+3
| | | | PRIuMAX and PRIxMAX are defined in inttypes depending on the wordsize.
* - Rich Felker writes: fix invalid printf format stringsBernhard Reutner-Fischer2006-03-291-1/+1
| | | | | | | | | http://busybox.net/lists/busybox/2006-March/019568.html text data bss dec hex filename 900619 10316 1038724 1949659 1dbfdb busybox.oorig 900603 10316 1038724 1949643 1dbfcb busybox
* Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley2006-02-221-3/+2
|
* just whitespaceTim Riker2006-01-251-9/+9
|
* another more const"Vladimir N. Oleynik"2005-10-201-2/+2
|
* Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley2005-09-111-1/+1
| | | | getopt.h, whitespace changes, typos, etc.
* just punt all the f_frsize crap since not all linux headers support it Bug 346Mike Frysinger2005-07-261-22/+5
|
* dont use f_frsize unless linux-2.6.0 or betterMike Frysinger2005-06-291-1/+12
|
* rework human_fstype to cut down sizeMike Frysinger2005-04-241-78/+47
|
* rework options to get rid of extra variablesMike Frysinger2005-04-241-15/+11
|
* stat implementation based upon coreutilsMike Frysinger2005-04-231-0/+599