summaryrefslogtreecommitdiff
path: root/arch (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-07Fix crash in Windows 7 ANSI emulationRon Yorston1-2/+3
2012-02-07Work around a regression in Windows 7, causing erase_in_line() to crash ↵Johannes Schindelin1-1/+2
sometimes The function FillConsoleOutputCharacterA() was pretty content in XP to take a NULL pointer if we did not want to store the number of written columns. In Windows 7, it crashes, but only when called from within Git Bash, not from within cmd.exe. Go figure. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-06Skip carriage return in read builtin commandRon Yorston1-1/+1
2011-12-05mingw.h: drop parameters for lchown to chown mappingStefan Sauer1-1/+1
This is needed to build coreutils/chown which take a function pointer to chown. If the define has parameters it won't replace this one.
2011-12-05libbb.h: avoid reddefining WINVERStefan Sauer1-1/+3
2011-11-25README.win32: mention of defconfig.mingw32 for startersNguyễn Thái Ngọc Duy1-8/+6
2011-11-21quote_arg(): correctly escape backslash charactersDaniel Klessing1-2/+4
2011-11-21copy_file: kkip inode/device checkDaniel Klessing1-0/+6
Inode/Device information is not present under mingw32. Don't rely on it in copy_file.c
2011-11-21Include safe_gethostname()Daniel Klessing2-1/+14
Fixed compilation under mingw32 by making safe_gethostname.c globally available, as the compiler couldn't find safe_gethostname()
2011-11-20Added missing stat() tweaks for mingw portZheng, Lei4-0/+18
2011-10-30fixdep: fix mmap() on msysKlessing, Daniel1-6/+28
2011-02-09win32: test: make -r/-w workNguyễn Thái Ngọc Duy1-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
2011-01-23README: mention of README.win32Nguyễn Thái Ngọc Duy1-0/+1
2011-01-23win32: fixdep: workaround mmap()Nguyễn Thái Ngọc Duy1-0/+29
2011-01-14win32: ash: teach "cd" DOS path separator '\'Nguyễn Thái Ngọc Duy1-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.
2011-01-04win32: ash: fix path_advance() not advancing correctlyNguyễn Thái Ngọc Duy1-1/+10
*p can be either ':' or ';' at the end of path_advance(). However the code expects it to be ':' only. This effectively skips the rest of $PATH after the first component when Windows' $PATH is used. This should fix Github#1. While at it, also fix pathopt code expecting ':' only (again).
2011-01-04tar: add a note about -C and symlink-in-tarball attackDenys Vlasenko1-0/+19
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-03explain every non-SUID_DROP applet. No code changesDenys Vlasenko2-1/+19
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-03kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAXDenys Vlasenko1-1/+16
function old new delta print_signames 31 64 +33 signals 224 231 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-03kill[all[5]],pkill: more correct, and smaller, SIGRTMIN/MAX codeDenys Vlasenko1-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>
2011-01-02date,touch: treat 2-digit years better (fit them into +-50 yrs around today)Denys Vlasenko2-3/+16
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-31date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev2-1/+16
Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-31su: document -l in --help text. Closes bug 2761Denys Vlasenko2-9/+10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-31add missed underscoreDenys Vlasenko1-1/+1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30date: add a comment about _SVID_SOURCEDenys Vlasenko1-1/+4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30bzip2: plug memory leak on every processed fileDenys Vlasenko2-5/+5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30libbb: optionally support RTMIN[+n] and RTMAX[-n] signal namesDenys Vlasenko2-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>
2010-12-30blkid: optional support for TYPE="fstype"Denys Vlasenko21-37/+84
Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-28plug a DIR* leak on error pathDenys Vlasenko1-4/+5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-28modprobe: add -D option (synonym of --show-depends)Serj Kalichev1-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>
2010-12-27login: apply PAM environmentIan Wienand1-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>
2010-12-26cpio: allow cpio -i to take params - names of files to extractDenys Vlasenko2-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>
2010-12-26modprobe: add support for --show-dependsSerj Kalichev2-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>
2010-12-25init: simpler handling of leading dash in commandsDenys Vlasenko2-10/+12
function old new delta init_exec 233 219 -14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-25udhcpc: document SIGUSRn effect in help textDenys Vlasenko1-0/+4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-21hush: fix FEATURE_CLEAN_UP code (was freeing unallocated memory)Denys Vlasenko1-45/+49
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-20sendmail: remove forgotten commenting-out on a "if (verbose)"Denys Vlasenko1-1/+1
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-20mailutils/*: add verbose option to sendmail; remove -m and -j from makemimeDenys Vlasenko6-54/+106
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-20test: add examples when "%s: unknown operand" happensDenys Vlasenko1-1/+4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-20ls: remove redundant constants LIST_FILENAME and LIST_SHORTJames Youngman1-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>
2010-12-19ls: add support for -HDenys Vlasenko1-73/+86
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19volume_id: recognize compressed hibernate swap signatureJames Hunt1-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>
2010-12-19ls: tweak -e handling; better commentsDenys Vlasenko1-19/+24
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19ls: print a space after each column. Closes bug 2941Denys Vlasenko2-72/+72
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19ls: make -F not follow symlinks of the command lineDenys Vlasenko1-4/+8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19ls: make -x force columnar output; remove unused parts of TRIGGER codeDenys Vlasenko1-43/+30
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19ls: for some options, only last takes effect. Closes bug 2959Denys Vlasenko1-8/+18
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19chrt: -m can be used without any arguments. Closes bug 2989Denys Vlasenko1-8/+10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-18chrt: correct opt_complementary. Closes bug 2977Denys Vlasenko1-5/+5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-18scripts: fix fixdep.c to let it workable in cygwinMacpaul Lin1-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>