aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* quote_arg(): correctly escape backslash charactersDaniel Klessing2011-11-211-2/+4
|
* copy_file: kkip inode/device checkDaniel Klessing2011-11-211-0/+6
| | | | | Inode/Device information is not present under mingw32. Don't rely on it in copy_file.c
* Include safe_gethostname()Daniel Klessing2011-11-212-1/+14
| | | | | Fixed compilation under mingw32 by making safe_gethostname.c globally available, as the compiler couldn't find safe_gethostname()
* Added missing stat() tweaks for mingw portZheng, Lei2011-11-204-0/+18
|
* fixdep: fix mmap() on msysKlessing, Daniel2011-10-301-6/+28
|
* 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
* README: mention of README.win32Nguyễn Thái Ngọc Duy2011-01-231-0/+1
|
* win32: fixdep: workaround mmap()Nguyễn Thái Ngọc Duy2011-01-231-0/+29
|
* win32: ash: teach "cd" DOS path separator '\'Nguyễn Thái Ngọc Duy2011-01-141-7/+8
| | | | | | docd() is rewritten to deal with DOS paths. Surprisingly, I did not consider '\' as path separator, only '/'. Teach it to see '\' just like '/'. Should fix github issue 3.
* Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-04250-2479/+3469
|\
| * tar: add a note about -C and symlink-in-tarball attackDenys Vlasenko2011-01-041-0/+19
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * explain every non-SUID_DROP applet. No code changesDenys Vlasenko2011-01-032-1/+19
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAXDenys Vlasenko2011-01-031-1/+16
| | | | | | | | | | | | | | | | function old new delta print_signames 31 64 +33 signals 224 231 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * kill[all[5]],pkill: more correct, and smaller, SIGRTMIN/MAX codeDenys Vlasenko2011-01-031-10/+19
| | | | | | | | | | | | | | | | | | | | | | function old new delta __libc_current_sigrtmin 6 - -6 __libc_current_sigrtmax 6 - -6 get_signum 339 295 -44 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-56) Total: -56 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * date,touch: treat 2-digit years better (fit them into +-50 yrs around today)Denys Vlasenko2011-01-022-3/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev2010-12-312-1/+16
| | | | | | | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * su: document -l in --help text. Closes bug 2761Denys Vlasenko2010-12-312-9/+10
| | | | | | | | 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>
| * bzip2: plug memory leak on every processed fileDenys Vlasenko2010-12-302-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: optionally support RTMIN[+n] and RTMAX[-n] signal namesDenys Vlasenko2010-12-302-6/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta get_signum 140 336 +196 __libc_allocate_rtsig - 56 +56 __libc_current_sigrtmin - 6 +6 __libc_current_sigrtmax - 6 +6 current_rtmin - 4 +4 current_rtmax - 4 +4 bbconfig_config_bz2 4961 4962 +1 ------------------------------------------------------------------------------ (add/remove: 6/0 grow/shrink: 2/0 up/down: 273/0) Total: 273 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * blkid: optional support for TYPE="fstype"Denys Vlasenko2010-12-3021-37/+84
| | | | | | | | | | | | Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * plug a DIR* leak on error pathDenys Vlasenko2010-12-281-4/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modprobe: add -D option (synonym of --show-depends)Serj Kalichev2010-12-281-54/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The modern module-init-tools 3.12 has "-D" option and it works. The --show-depends and -a options can be used together due to upstream modprobe behaviour. function old new delta do_modprobe 536 579 +43 packed_usage 28035 28042 +7 modprobe_main 653 657 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 54/0) Total: 54 bytes Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * login: apply PAM environmentIan Wienand2010-12-271-0/+11
| | | | | | | | | | | | | | | | | | | | | | login should apply the PAM environment modified by plugins such as pam_env. Other 'login's do a similar thing. I tested this by setting some env variables with pam_env which were correctly applied. Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cpio: allow cpio -i to take params - names of files to extractDenys Vlasenko2010-12-262-68/+66
| | | | | | | | | | | | | | | | | | | | | | | | Also, improve help text function old new delta packed_usage 28028 28035 +7 cpio_main 542 532 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-10) Total: -3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modprobe: add support for --show-dependsSerj Kalichev2010-12-262-36/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta modprobe_longopts - 16 +16 packed_usage 28018 28028 +10 modprobe_main 648 653 +5 do_modprobe 580 536 -44 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/1 up/down: 31/-44) Total: -13 bytes Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * init: simpler handling of leading dash in commandsDenys Vlasenko2010-12-252-10/+12
| | | | | | | | | | | | | | function old new delta init_exec 233 219 -14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: document SIGUSRn effect in help textDenys Vlasenko2010-12-251-0/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: fix FEATURE_CLEAN_UP code (was freeing unallocated memory)Denys Vlasenko2010-12-211-45/+49
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * sendmail: remove forgotten commenting-out on a "if (verbose)"Denys Vlasenko2010-12-201-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * mailutils/*: add verbose option to sendmail; remove -m and -j from makemimeDenys Vlasenko2010-12-206-54/+106
| | | | | | | | 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>
| * volume_id: recognize compressed hibernate swap signatureJames Hunt2010-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | util-linux/volume_id/linux_swap.c: Added the new magic LINHIB0001 signature. See: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/683605 Signed-off-by: James Hunt <james.hunt@ubuntu.com> 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-192-72/+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>
| * chrt: -m can be used without any arguments. Closes bug 2989Denys Vlasenko2010-12-191-8/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * chrt: correct opt_complementary. Closes bug 2977Denys Vlasenko2010-12-181-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts: fix fixdep.c to let it workable in cygwinMacpaul Lin2010-12-181-1/+1
| | | | | | | | | | | | | | | | | | Update retrun character detection in the fixdep.c to let it work in cygwin. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Greentime <green.hu@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Revert "scripts: fix fixdep.c to let it workable in cygwin"Denys Vlasenko2010-12-181-1/+1
| | | | | | | | This reverts commit 10c36b86574133bb1cd29ad04db64c7953b94ab5.
| * scripts: fix fixdep.c to let it workable in cygwinGreentime2010-12-181-1/+1
| | | | | | | | | | | | | | | | | | Update return character detection in the fixdep.c to let it workable in cygwin. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Greentime <green.hu@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * chat: fix build breakage (variable declared in for())Denys Vlasenko2010-12-181-8/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: fix build breakage (variable declared in for())Denys Vlasenko2010-12-181-21/+24
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nmeter: deprecate %NNNd specified, use -d MSEC insteadDenys Vlasenko2010-12-135-40/+47
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * procps/Config.src: Add pstree to FEATURE_THREADS deps. Slight text editLauri Kasanen2010-12-131-3/+4
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>