aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "split: use xopen_stdin()"1_17_2Denys Vlasenko2010-09-091-1/+3
| | | | | | This reverts commit 5168bf2caac99fbbb499fb660f20e349c9c65c8c. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* split: use xopen_stdin()Denys Vlasenko2010-08-231-3/+1
| | | | | | | function old new delta split_main 558 543 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Apply post-1.17.0 fixesDenys Vlasenko2010-07-252-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: introduce and use BB_EXECVP_or_die()Pascal Bellard2010-07-044-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta BB_EXECVP_or_die - 47 +47 time_main 1042 1043 +1 chrt_main 371 364 -7 ionice_main 292 282 -10 setsid_main 69 56 -13 nohup_main 236 223 -13 cttyhack_main 266 253 -13 chroot_main 94 81 -13 chpst_main 746 733 -13 timeout_main 297 279 -18 taskset_main 541 522 -19 vfork_child 67 45 -22 parse 975 953 -22 lpd_main 770 748 -22 launch_helper 192 170 -22 tcpudpsvd_main 1810 1782 -28 nice_main 190 156 -34 env_main 242 206 -36 run_command 221 174 -47 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/17 up/down: 48/-352) Total: -304 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make exec failure message more consistentDenys Vlasenko2010-06-254-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: make %N work without -lrt on glibcDenys Vlasenko2010-06-181-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stat: make output more similar to GNU statSeb2010-06-121-20/+21
| | | | | Signed-off-by: Seb <sbb@tuxfamily.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: trivial fix - was reading seconds into nanoseconds field! DOHDenys Vlasenko2010-06-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add INSERTs to *.src files where appropriateDenys Vlasenko2010-06-082-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: use the same code for FEATURE_DATE_NANO for glibc and uclibcDenys Vlasenko2010-06-081-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bbconfig: make it independent from printf functionsDenys Vlasenko2010-06-071-7/+5
| | | | | | | | | | | | | | function old new delta full_write2_str - 25 +25 full_write1_str - 25 +25 clear_main 21 20 -1 telnet_main 1488 1477 -11 getty_main 1932 1918 -14 full_write22_str 25 - -25 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/3 up/down: 50/-51) Total: -1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: make FEATURE_NANO compile on glibc systemsDenys Vlasenko2010-06-061-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* yes: this applet doesn't have options, don't lie that it does.Denys Vlasenko2010-06-061-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove defconfig. Now "make defconfig" simply uses defaults from Config.inDenys Vlasenko2010-06-066-106/+106
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tr: add forgotten //config: prefixesDenys Vlasenko2010-06-051-19/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass renaming Kbuild -> Kbuild.src, Config.in -> Config.srcDenys Vlasenko2010-06-041-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* partially migrate coreutils to Config.src and Kbuild.srcDenys Vlasenko2010-06-047-104/+114
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: optional support for %N. Closes bug 1861.Denys Vlasenko2010-06-042-6/+60
| | | | | | | | | | function old new delta date_main 862 1090 +228 clock_gettime - 41 +41 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/0 up/down: 269/0) Total: 269 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test: "" is not a valid number. Closes bug 1915Denys Vlasenko2010-06-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: better string sharingDenys Vlasenko2010-06-023-6/+6
| | | | | | | | text data bss dec hex filename 849427 441 7556 857424 d1550 busybox_old 849355 441 7556 857352 d1508 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* deinline two big functionsDenys Vlasenko2010-06-011-1/+1
| | | | | | | | | | | | function old new delta xz_dec_lzma2_run - 1483 +1483 decode_one_format - 715 +715 decode_format_string 840 98 -742 unpack_xz_stream 4014 2377 -1637 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/2 up/down: 2198/-2379) Total: -181 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* work on adding testsuite runs to randomconfig test buildsDenys Vlasenko2010-05-101-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move utmp/wtmp support to "General configuration" sectionDenys Vlasenko2010-04-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: split update_utmp from login/getty in preparation to use it for telnetdDenys Vlasenko2010-04-051-1/+1
| | | | | | | | | | | | | | | | | | | function old new delta update_utent - 339 +339 login_main 1498 1128 -370 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 339/-370) Total: -31 bytes function old new delta update_utmp 246 337 +91 login_main 1128 1140 +12 getty_main 1908 1918 +10 ... update_utent 339 - -339 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/6 up/down: 119/-368) Total: -249 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* who: fix attempts to open '/dev/dev/ttyX'; make columns a bit wider, add -HDenys Vlasenko2010-04-041-16/+28
| | | | | | | function old new delta who_main 292 363 +71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hurd compat fixes. Mostly dealing with absent PATH_MAXJérémie Koenig2010-03-261-13/+3
| | | | | Signed-off-by: Jérémie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALEDenys Vlasenko2010-03-263-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unexpand: fix "a b"\n" input caseTomas Heinrich2010-03-261-7/+10
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* [un]expand: account for different character widths. +16 bytes.Tomas Heinrich2010-03-261-2/+8
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: merge some common stringsDenys Vlasenko2010-03-232-2/+2
| | | | | | | | text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: do not ignore argument of -d/-t optionMikhail Gusarov2010-03-211-2/+2
| | | | | | | | Previously -d/-t was no-op due to wrong handling of args passed to utimes(2). Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tailk: fix error detected by testsuiteDenys Vlasenko2010-03-121-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wc: compat: make "wc -c ONE_FILE" not print leading spaces. +2 bytesDenys Vlasenko2010-03-081-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* head,tail: trim help text; make suffixes unconditional for head tooDenys Vlasenko2010-03-021-6/+0
| | | | | | | function old new delta packed_usage 26411 26375 -36 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tail: document FANCY flags in helptextBernhard Reutner-Fischer2010-02-261-0/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* df: explain FANCY options in helptextBernhard Reutner-Fischer2010-02-261-0/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* install: strip before mode/uid/gid is set, not after.Denys Vlasenko2010-02-211-12/+13
| | | | | | | | function old new delta install_main 694 716 +22 basename 21 - -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* compat and warning fixesDenys Vlasenko2010-02-091-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shaNNNsum: accept and ignore -b and -tDenys Vlasenko2010-02-071-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adduser: copy /etc/skel to mew homes. +100 bytesDenys Vlasenko2010-02-061-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cosmetic fixesDenys Vlasenko2010-02-061-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Denys Vlasenko2010-02-046-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stat: get rid on intmax_tDenys Vlasenko2010-02-021-90/+91
| | | | | | | | | | | function old new delta print_it 225 218 -7 print_stat 919 889 -30 print_statfs 370 339 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-68) Total: -68 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: unicode fixesDenys Vlasenko2010-01-311-195/+217
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cal: add a unicode testDenys Vlasenko2010-01-311-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* further work on unicodizationDenys Vlasenko2010-01-302-9/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: style fixes. no code changes (verified with objdump)Denys Vlasenko2010-01-281-2/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2010-01-241-9/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: better unicode width support. Hopefully fixes bug 839.Denys Vlasenko2010-01-244-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also opens up a possibility to make other unicode stuff smaller and more correct later. but: function old new delta static.combining - 516 +516 bb_wcwidth - 328 +328 unicode_cut_nchars - 141 +141 mbstowc_internal - 93 +93 in_table - 78 +78 cal_main 899 961 +62 static.combining0x10000 - 40 +40 unicode_strlen - 31 +31 bb_mbstrlen 31 - -31 bb_mbstowcs 173 102 -71 ------------------------------------------------------------------------------ (add/remove: 7/1 grow/shrink: 1/1 up/down: 1289/-102) Total: 1187 bytes Uses code of Markus Kuhn, which is in public domain: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c "Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted. The author disclaims all warranties with regard to this software." Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: introduce FEATURE_DATE_COMPAT; shrinkDenys Vlasenko2010-01-232-34/+41
| | | | | | | function old new delta date_main 889 862 -27 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>