aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '1_19_4' into merge_1_19Ron Yorston2012-03-221-3/+3
|\
| * Apply post-1.19.2 patches, bump version to 1.19.31_19_3Denys Vlasenko2011-10-281-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'd84b175cb6948eb17f847313bf912174e2f934e1' into mergeRon Yorston2012-03-227-111/+125
|\| | | | | | | | | Conflicts: include/platform.h
| * randomconfig fixesDenys Vlasenko2011-08-101-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove extra += who.oDenys Vlasenko2011-08-091-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * df: more compatible -P behaviorRalf Friedl2011-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | In coreutils df, one of the effects of the option -P is to output everything in one line. This makes it much easier for a script to parse the output of df. This patch adds the same behavior to busybox df. function old new delta df_main 853 863 +10 Signed-off-by: Ralf Friedl <Ralf.Friedl@online.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * users: new applet.Tito Ragusa2011-08-092-35/+62
| | | | | | | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * usleep: do not check for usleep error, it should never failDenys Vlasenko2011-07-081-3/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5/shaNsum: make -c support a list of filesLauri Kasanen2011-07-041-68/+58
| | | | | | | | | | | | | | | | function old new delta md5_sha1_sum_main 455 473 +18 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '066f39956641300c1e5c6bfe6c11a115cea3e2cf' into mergeRon Yorston2012-03-2251-93/+78
|\| | | | | | | | | Conflicts: procps/ps.c
| * id: correct getgroups usageDenys Vlasenko2011-06-221-16/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * groups: make it NOEXECDenys Vlasenko2011-06-221-3/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: fix HAVE_STRVERSCMP check; add check for older uclibc versionsDenys Vlasenko2011-06-211-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * groups: new appletTito Ragusa2011-06-213-11/+36
| | | | | | | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Add HAVE_STRVERSCMP, guard the only usage of strverscmp with #ifdefDenys Vlasenko2011-06-211-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: fix comment about -p (it's compatible now)Denys Vlasenko2011-06-131-4/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: make -v and -X actually work as intendedDenys Vlasenko2011-06-131-7/+15
| | | | | | | | | | | | | | | | | | | | function old new delta strverscmp - 236 +236 sortcmp 186 254 +68 static.result_type - 60 +60 static.next_state 12 16 +4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: remove "Options:" string from help textsDenys Vlasenko2011-06-0549-55/+1
| | | | | | | | | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '56a3b82e9692a25ef9c9269e88feac0d579ce8e8' into mergeRon Yorston2012-03-224-666/+673
|\| | | | | | | | | | | | | Conflicts: coreutils/ls.c include/platform.h libbb/bb_basename.c
| * od: code shrinkDenys Vlasenko2011-05-211-14/+10
| | | | | | | | | | | | | | function old new delta od_main 2147 2132 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * od: another fix for --stringsDenys Vlasenko2011-05-211-1/+4
| | | | | | | | | | | | | | function old new delta od_main 2139 2147 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * od: fix -S NUM to not print chars >0x80Denys Vlasenko2011-05-211-38/+19
| | | | | | | | | | | | | | | | | | | | function old new delta write_block 433 431 -2 print_ascii 217 215 -2 check_and_close 104 96 -8 od_main 2164 2139 -25 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * od: code shrinkDenys Vlasenko2011-05-211-82/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta exit_code - 1 +1 open_next_file 73 72 -1 limit_bytes_to_format 1 - -1 ioerror 1 - -1 flag_pseudo_start 1 - -1 flag_dump_strings 1 - -1 od_main 2275 2164 -111 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * od: code shrink, fix "od --traditional FILE"Denys Vlasenko2011-05-212-120/+100
| | | | | | | | | | | | | | | | | | function old new delta parse_old_offset 107 125 +18 packed_usage 28715 28691 -24 od_main 2312 2275 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tail: optimize "tail -c HUGENUM REGULAR_FILE". Closes 3763.Denys Vlasenko2011-05-201-15/+21
| | | | | | | | | | | | | | function old new delta tail_main 1541 1547 +6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: code shrinkDenys Vlasenko2011-05-131-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta sort_and_display_files - 427 +427 scan_and_display_dirs_recur 497 488 -9 ls_main 765 735 -30 display_files 422 - -422 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/2 up/down: 427/-461) Total: -34 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: reorder and rename functions. No code changesDenys Vlasenko2011-05-131-238/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta display_single - 931 +931 scan_and_display_dirs_recur - 497 +497 display_files - 422 +422 showfiles 422 - -422 showdirs 497 - -497 list_single 931 - -931 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 0/0 up/down: 1850/-1850) Total: 0 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: reduce memory consumption and speed up (don't do redundant [l]stat)Denys Vlasenko2011-05-131-158/+210
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta my_stat 110 278 +168 splitdnarray 120 118 -2 ls_main 769 765 -4 list_single 961 931 -30 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 168/-36) Total: 132 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: avoid forward declaration. No code changesDenys Vlasenko2011-05-131-45/+43
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: code shrinkDenys Vlasenko2011-05-131-32/+21
| | | | | | | | | | | | | | function old new delta list_single 990 961 -29 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: fix help text: -w N is optionalDenys Vlasenko2011-05-121-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: fix -p help text, improve comments and define namesDenys Vlasenko2011-05-121-11/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into mergeRon Yorston2012-03-2268-18/+1102
|\|
| * md5/sha1sum: better fix for small resource leakDenys Vlasenko2011-04-161-14/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * md5/sha1sum: fix small resource leakAlexey Fomenko2011-04-161-0/+3
| | | | | | | | | | Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argumentDenys Vlasenko2011-04-111-0/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c ↵Pere Orga2011-04-031-0/+9
| | | | | | | | | | | | | | editors/*.c loginutils/*.c mailutils/*.c Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: better help text for -a and -ADenys Vlasenko2011-04-031-7/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move help text from include/usage.src.h to coreutils/*.cPere Orga2011-03-3166-0/+1070
| | | | | | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '19311bfa7b8e8c6effa9c375de9b0eb4338bee12' into mergeRon Yorston2012-03-2211-49/+73
|\| | | | | | | | | | | Conflicts: coreutils/ls.c shell/ash.c
| * dd: free allocated memory if CLEANUP enabledAlexey Soloviev2011-03-221-0/+6
| | | | | | | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ln: explain why we use xstrdupDenys Vlasenko2011-03-211-1/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: fix handling of symlinks by option -1Denys Vlasenko2011-03-121-2/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * chsum: fixPascal Bellard2011-03-111-0/+1
| | | | | | | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * use user's shell instead of hardwired "/bin/sh" (android needs this)Denys Vlasenko2011-03-081-5/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * printenv: fix environ == NULL segfaultDenys Vlasenko2011-03-082-4/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tr: free allocated memory in tr if CLEANUP enabledAlexey Soloviev2011-03-061-0/+6
| | | | | | | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * convert "do {...} while (1);" -> "while (1) {...}"Denys Vlasenko2011-03-021-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: widen -s (1k blocks) column from 4 to 6Denys Vlasenko2011-03-011-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: -g implies -lDenys Vlasenko2011-02-281-5/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>