summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added missing stat() tweaks for mingw portZheng, Lei2011-11-202-0/+10
|
* win32: test: make -r/-w workNguyễn Thái Ngọc Duy2011-02-091-0/+4
| | | | | | | | R_OK and W_OK on Windows are defined as 4 and 2 respectively. The stat() reimplementation uses S_IREAD and S_IWRITE, which are completely different value. Redefine R_OK and W_OK
* Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-0414-205/+312
|\
| * date,touch: treat 2-digit years better (fit them into +-50 yrs around today)Denys Vlasenko2011-01-021-3/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev2010-12-311-1/+3
| | | | | | | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add missed underscoreDenys Vlasenko2010-12-311-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * date: add a comment about _SVID_SOURCEDenys Vlasenko2010-12-301-1/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * test: add examples when "%s: unknown operand" happensDenys Vlasenko2010-12-201-1/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: remove redundant constants LIST_FILENAME and LIST_SHORTJames Youngman2010-12-201-47/+44
| | | | | | | | | | | | | | LIST_FILENAME is always true and LIST_SHORT affects nothing. Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: add support for -HDenys Vlasenko2010-12-191-73/+86
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: tweak -e handling; better commentsDenys Vlasenko2010-12-191-19/+24
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: print a space after each column. Closes bug 2941Denys Vlasenko2010-12-191-11/+72
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: make -F not follow symlinks of the command lineDenys Vlasenko2010-12-191-4/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: make -x force columnar output; remove unused parts of TRIGGER codeDenys Vlasenko2010-12-191-43/+30
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: for some options, only last takes effect. Closes bug 2959Denys Vlasenko2010-12-191-8/+18
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * touch: fix help text to not show options disabled in .configDenys Vlasenko2010-12-013-8/+29
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * date :add a comment about older toolchainsDenys Vlasenko2010-11-231-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ls: fix -lg to show group (was showing user)Denys Vlasenko2010-11-061-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * stat: fix mtime/ctime/atimeEric Lammerts2010-10-301-4/+3
| | | | | | | | | | | | | | | | If you set CONFIG_FEATURE_STAT_FORMAT=n, two of the three printed times are wrong, because a global buffer is reused. Fix below. Signed-off-by: Eric Lammerts <busybox@lists.lammerts.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace cleanupDenys Vlasenko2010-10-299-20/+20
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'Nguyễn Thái Ngọc Duy2011-01-0410-31/+31
|\| | | | | | | | | Conflicts: libbb/make_directory.c
| * *: whitespace fixesDenys Vlasenko2010-10-2810-31/+31
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d^'Nguyễn Thái Ngọc Duy2011-01-044-49/+63
|\|
| * libbb: introduce and use common crc32 routineDenys Vlasenko2010-10-271-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta crc32_block_endian1 - 37 +37 crc32_block_endian0 - 34 +34 global_crc32_table - 8 +8 file_read 82 87 +5 gzip_main 211 214 +3 xz_crc32 40 35 -5 crc32_table 8 - -8 calculate_gunzip_crc 54 34 -20 lzo_crc32 54 25 -29 cksum_main 298 211 -87 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/4 up/down: 87/-149) Total: -62 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * mv: implement -n optionDenys Vlasenko2010-10-261-13/+33
| | | | | | | | | | | | | | | | | | function old new delta mv_longopts 23 36 +13 mv_main 510 520 +10 packed_usage 27218 27225 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * md5/sha1sum: code shrinkDenys Vlasenko2010-10-241-20/+21
| | | | | | | | | | | | | | function old new delta hash_file 357 279 -78 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: introduce and use strcpy_and_process_escape_sequencesDenys Vlasenko2010-10-231-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta strcpy_and_process_escape_sequences - 50 +50 bb_process_escape_sequence 148 138 -10 printf_main 789 776 -13 getty_main 1897 1831 -66 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 50/-89) Total: -39 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '6722737ece4b8db3e30b53aef8f981f53db1621e'Nguyễn Thái Ngọc Duy2011-01-041-7/+3
|\| | | | | | | | | Conflicts: coreutils/dos2unix.c
| * *: introduce and use xmkstemp. -65 bytes.Alexander Shishkin2010-10-221-5/+3
| | | | | | | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '6722737ece4b8db3e30b53aef8f981f53db1621e^'Nguyễn Thái Ngọc Duy2011-01-043-8/+7
|\|
| * tail: free tailbuf upon cleaning upAlexander Shishkin2010-10-211-0/+1
| | | | | | | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * stat: remove superfluous setXXent() calls, plug memory leakAlexander Shishkin2010-10-211-7/+5
| | | | | | | | | | | | | | | | function old new delta print_stat 875 865 -10 Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: s/open3_or_warn/open_or_warn/ where makes senseDenys Vlasenko2010-10-201-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-0417-140/+174
|\|
| * sort: -o FILE should create/truncate FILEDenys Vlasenko2010-10-181-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: replace xopen3 with xopen where makes senseDenys Vlasenko2010-10-182-3/+3
| | | | | | | | | | | | | | | | | | | | function old new delta uniq_main 421 416 -5 sort_main 803 798 -5 patch_main 2051 2046 -5 cpio_main 547 542 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixDenys Vlasenko2010-10-171-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * seq: exit on write errorsDenys Vlasenko2010-10-171-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: pass md5/shaN context pointer as 1st arg, not lastDenys Vlasenko2010-10-161-3/+3
| | | | | | | | | | | | | | | | | | function old new delta md5_hash_block 458 459 +1 filter_rename_config 252 250 -2 md5_crypt 591 587 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * date: move applet and usage bits to date.cDenys Vlasenko2010-10-151-32/+74
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * wc: add support for -mDenys Vlasenko2010-10-041-13/+45
| | | | | | | | | | | | | | | | function old new delta wc_main 601 637 +36 packed_usage 27357 27358 +1 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * wc: preparatory patch, no logic changesDenys Vlasenko2010-10-041-15/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Marked some more applets NOEXEC/NOFORKDan Fandrich2010-10-019-0/+18
| | | | | | | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * style fix. no code chagesDenys Vlasenko2010-09-251-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sleep: fix fractional arguments in non-POSIX localeDenys Vlasenko2010-09-241-7/+11
| | | | | | | | | | | | | | function old new delta sleep_main 390 379 -11 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * libbb: merge mail and uudecode's base64 decodersDenys Vlasenko2010-09-161-69/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta read_base64 - 378 +378 uudecode_main 306 315 +9 parse 953 958 +5 read_stduu 250 254 +4 base64_main 217 219 +2 read_base64 358 - -358 decode_base64 371 - -371 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 4/0 up/down: 398/-729) Total: -331 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * sleep: make it non-NOFORK. Fixes ^C in standalone shellDenys Vlasenko2010-09-141-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | win32: enable sha* (needs WIN32_NET)Nguyễn Thái Ngọc Duy2010-09-211-0/+3
| |
* | win32: date: escape literal %e properlyNguyễn Thái Ngọc Duy2010-09-171-1/+1
| |
* | win32: enable whoamiNguyễn Thái Ngọc Duy2010-09-141-0/+10
| |