diff options
author | Marat Radchenko <marat@slonopotamus.org> | 2014-03-29 00:08:02 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-28 13:37:16 -0700 |
commit | 4b623d80f73528a632576990ca51e34c333d5dd6 (patch) | |
tree | d5a3bef407852949f0fc05801abf987d93db355e /t/lib-httpd.sh | |
parent | Git 1.9.1 (diff) | |
download | tgif-4b623d80f73528a632576990ca51e34c333d5dd6.tar.xz |
MSVC: link in invalidcontinue.obj for better POSIX compatibility
By default, Windows abort()'s instead of setting
errno=EINVAL when invalid arguments are passed to standard functions.
For example, when PAGER quits and git detects it with
errno=EPIPE on write(), check_pipe() in write_or_die.c tries raise(SIGPIPE)
but since there is no SIGPIPE on Windows, it is treated as invalid argument,
causing abort() and crash report window.
Linking in invalidcontinue.obj (provided along with MS compiler) allows
raise(SIGPIPE) to return with errno=EINVAL.
Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd.sh')
0 files changed, 0 insertions, 0 deletions