summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tail: implement -FEric Lammerts2009-07-222-21/+66
| | | | | | | | function old new delta tail_main 1190 1494 +304 Signed-off-by: Eric Lammerts <busybox@lists.lammerts.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix mountpoint test to not prevemt mkfs_xxx from making image in any fileDenys Vlasenko2009-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -t TIME (needed for testsuite)Denys Vlasenko2009-07-181-1/+5
| | | | | | | | | | | This changes date -d TIME format a bit, makes it more compatible function old new delta parse_datestr 391 618 +227 touch_main 360 361 +1 packed_usage 26624 26615 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -d --date (our own testsuite needs that)Denys Vlasenko2009-07-183-17/+36
| | | | | | | | | | | | | | | function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: factor out date parsing (in preparation for touch -d)Denys Vlasenko2009-07-181-80/+54
| | | | | | | | | | | | | | | | | | | | | | | function old new delta parse_datestr - 391 +391 sha512_process_block128 1283 1310 +27 buffer_fill_and_print 179 196 +17 nexpr 826 840 +14 unzip_main 1931 1939 +8 popstring 134 140 +6 qrealloc 33 36 +3 builtin_umask 121 123 +2 evalvar 1365 1363 -2 changepath 194 192 -2 do_compress 1698 1688 -10 hwclock_main 340 329 -11 cmdputs 414 402 -12 identify 4343 4329 -14 date_main 1186 687 -499 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/7 up/down: 468/-550) Total: -82 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test: fix "test !" and "test abc -a !". closes bug 465Denys Vlasenko2009-07-171-3/+10
| | | | | | | function old new delta nexpr 826 840 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweaking Unicode supportDenys Vlasenko2009-07-111-17/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added simplified Unicode support for non-locale-enabled buildsDenys Vlasenko2009-07-111-7/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move libc related stuff out of platform.hDenys Vlasenko2009-07-081-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: fix "df /"Denys Vlasenko2009-07-051-4/+3
| | | | | | | | | | | | | | | | | | | also, clean up mount checks in mkfs/fsck. function old new delta find_mount_point 243 261 +18 sha1_process_block64 497 510 +13 find_main 436 444 +8 display_speed 85 90 +5 df_main 795 793 -2 parse_command 1463 1460 -3 static.ignored_mounts 8 - -8 mkfs_minix_main 2962 2937 -25 fsck_minix_main 3065 2970 -95 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/4 up/down: 44/-133) Total: -89 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Patches to enable FreeBSD buildDenys Vlasenko2009-07-051-0/+4
| | | | | | | | | platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: make --color more compatible with coreutilsDenys Vlasenko2009-07-031-20/+34
| | | | | | | | | | | | | | | function old new delta static.color_str - 34 +34 static.ls_longopts - 9 +9 ls_color_opt 9 - -9 ls_main 865 843 -22 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/1 up/down: 43/-31) Total: 12 bytes text data bss dec hex filename 820145 450 7692 828287 ca37f busybox_old 820144 450 7692 828286 ca37e busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix --color handling. Closes bug 435.Denys Vlasenko2009-07-021-3/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: (allegedly) fix testsuite failureDenys Vlasenko2009-06-271-0/+2
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* updates for supporting Linux kernel build and initrd utilitiesDenys Vlasenko2009-06-261-1/+1
| | | | | | | | | cpio: --verbose, --quiet, --to-stdout test: make 64-bit math enable-able for hush too dnsdomainname: alias to hostname -d hostname: support --fqdn, --domain, --file Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-194-18/+18
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: fix exit code on conversion errorDenys Vlasenko2009-06-181-13/+11
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com)Denys Vlasenko2009-06-183-0/+48
| | | | | | | | | | | | | | | | function old new delta fsync_main - 128 +128 fdatasync - 39 +39 packed_usage 26596 26622 +26 applet_names 2098 2104 +6 applet_main 1240 1244 +4 applet_nameofs 620 622 +2 applet_install_loc 155 156 +1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 5/0 up/down: 206/0) Total: 206 bytes Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* install: compat fix for mode of created files.Denys Vlasenko2009-06-151-3/+4
| | | | | | By Mat Hostetter (mhostetter AT tilera.com) Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: fix input handling in non-C localesDenys Vlasenko2009-06-151-1/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: stop using bb_strtod for nowDenys Vlasenko2009-06-151-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: fix testsuite failuresDenys Vlasenko2009-06-151-16/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix . builtinDenys Vlasenko2009-06-141-2/+44
| | | | | | Also, move [[ ]] comment to test.c and expand it Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test, tcpsvd, tcpsvd: shrinkDenys Vlasenko2009-06-131-19/+33
| | | | | | | | | | | | function old new delta nexpr 825 826 +1 tcpudpsvd_main 1830 1822 -8 test_main 257 247 -10 binop 584 525 -59 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 1/-77) Total: -76 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* readlink: support -n, -v, -s and -q too if support for -f is requestedDenys Vlasenko2009-06-121-5/+28
| | | | | | | | | | function old new delta readlink_main 104 135 +31 packed_usage 26322 26321 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 31/-1) Total: 30 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: accept negative numbers for %x; sh: overflowed numbers are 0Denys Vlasenko2009-06-051-0/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* switch_root: improve behavior on error; improve help textDenis Vlasenko2009-04-211-1/+1
| | | | | *: make "can't execute '%s'" message uniform
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-2117-83/+83
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* mdev: Rob's #if forest removalDenis Vlasenko2009-04-191-3/+3
| | | | | *: remove superfluous conts in "f(type *const param)"
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-091-7/+3
|
* FEATURE_FANCY_ECHO needs to be accessible for hushDenis Vlasenko2009-04-071-1/+1
|
* ls: warning fixDenis Vlasenko2009-03-272-3/+4
| | | | | rm: accept and ignore -v (verbose)
* tail: fix tail +N syntax not working. Closes bug 221.Denis Vlasenko2009-03-271-1/+1
|
* ls: make readlink error to not disrupt output (try ls -l /proc/self/fd).Denis Vlasenko2009-03-211-101/+97
| | | | | | | | | | | libbb: make xmalloc_readlink_or_warn warning more specific. function old new delta xmalloc_readlink_or_warn 33 61 +28 showfiles 1495 1460 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 28/-35) Total: -7 bytes
* cd: "support" -v by ignoring itDenis Vlasenko2009-03-201-1/+49
|
* df: fix FEATURE_DF_FANCY=off, FEATURE_HUMAN_READABLE=on case.Denis Vlasenko2009-03-191-7/+6
|
* ls: make color-related code more readable. Fix a case whenDenis Vlasenko2009-03-181-19/+43
| | | | | | | | | | | | | it was working non-deterministically. function old new delta bold - 34 +34 showfiles 1508 1495 -13 fgcolor 50 34 -16 bgcolor 34 - -34 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/2 up/down: 34/-63) Total: -29 bytes
* tr: support -C as synonym to -cDenis Vlasenko2009-03-151-8/+21
|
* uname: correct cut/paste errorDenis Vlasenko2009-03-152-5/+19
| | | | | | | | | | | touch: add long options function old new delta static.longopts 137 162 +25 touch_main 221 231 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 35/0) Total: 35 bytes
* uname: support long optionsDenis Vlasenko2009-03-141-0/+16
|
* ftpd + ls - timestamp = confused Mozilla. Prevent that.Denis Vlasenko2009-03-091-0/+15
|
* uniq: strncmp(a,b, -1) might be problematic, use INT_MAX insteadDenis Vlasenko2009-03-091-1/+1
|
* ftpd: reuse ls applet for LIST/NLST/STAT generationDenis Vlasenko2009-03-092-1/+1
| | | | | | | | | | | | | | | | | | | | | | | function old new delta popen_ls - 211 +211 ftpd_main 1760 1826 +66 handle_dir_common 199 228 +29 get_remote_transfer_fd 89 104 +15 replace_char 30 34 +4 handle_upload_common 263 265 +2 bind_for_passive_mode 129 121 -8 cmdio_write 84 62 -22 escape_text 166 136 -30 init_data_sock_params 81 - -81 ftpdataio_dispose_transfer_fd 87 - -87 write_dirstats 149 - -149 write_filestats 603 - -603 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 11/5 up/down: 384/-986) Total: -602 bytes text data bss dec hex filename 808804 476 7864 817144 c77f8 busybox_old 808156 476 7864 816496 c7570 busybox_unstripped
* ftpd: code chrink, fixed some minor bugsDenis Vlasenko2009-03-081-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | ls: update comment *: openlog fixes (added LOG_PID, set LOG_DAEMON as appropriate) function old new delta xwrite_str - 26 +26 cmdio_write_ok - 15 +15 handle_cwd 40 45 +5 packed_usage 25668 25670 +2 cmdio_write_raw 7 9 +2 handle_upload_common 322 320 -2 udhcpd_main 1375 1372 -3 udhcpc_main 2362 2359 -3 port_cleanup 27 23 -4 handle_dir_common 221 209 -12 str_netfd_write 26 - -26 cmdio_get_cmd_and_arg 122 - -122 ftpd_main 2208 2050 -158 ------------------------------------------------------------------------------ text data bss dec hex filename 809933 476 7864 818273 c7c61 busybox_old 809199 476 7864 817539 c7983 busybox_unstripped
* expr: a bit more robust handling of regexps with groups (closes bug 87)Denis Vlasenko2009-03-031-6/+6
|
* printf: fix 1.12.0 breakage (from %*d fix). It was misinterpreting "*"Denis Vlasenko2009-03-031-3/+3
|
* ls: implement -Q and -g (-g was accepted but ignored)Denis Vlasenko2009-03-031-100/+138
| | | | | | | | | | | function old new delta print_name - 198 +198 showfiles 1489 1508 +19 ls_options 30 31 +1 opt_flags 112 108 -4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/1 up/down: 218/-4) Total: 214 bytes
* ls: do not follow links with -s (closes bug 33),Denis Vlasenko2009-03-031-10/+10
| | | | | display unsigned data with %XXu, not %XXd.
* tr: fix overflow in expand and complement, fix stop after [:class:],Denis Vlasenko2009-03-021-104/+131
| | | | | | | | | | | | fix order of [:xdigit:], make tr require one param at least. function old new delta expand 1743 1849 +106 tr_main 463 518 +55 complement 72 75 +3 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 164/0) Total: 164 bytes
* tr: support [:xdigit:], fix handling of ranges and [x]'s.Denis Vlasenko2009-03-011-38/+47
| | | | | | | | | | | | | add testsuite entry for each of 3 bugs fixed. function old new delta static.classes 73 82 +9 expand 1738 1743 +5 complement 74 72 -2 tr_main 472 463 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 14/-11) Total: 3 bytes