[BUG] MSVC: error box when interrupting `gitlog` by quitting less

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff King <peff <at> peff.net> writes:

> 
> The write_or_die function will always die on an error,
> including EPIPE. However, it currently treats EPIPE
> specially by suppressing any error message, and by exiting
> with exit code 0.

This causes error box on Windows in MSVC=1 build:

git.exe!_invoke_watson(...) Line 132	C++
git.exe!_invalid_parameter(...) Line 85	C++
git.exe!_invalid_parameter_noinfo() Line 97	C++
git.exe!raise(int signum) Line 499	C
git.exe!mingw_raise(int sig) Line 1745	C
git.exe!check_pipe(int err) Line 9	C
git.exe!maybe_flush_or_die(_iobuf * f, const char * desc) Line 48	C
git.exe!log_tree_commit(rev_info * opt, commit * commit) Line 820	C
git.exe!cmd_log_walk(rev_info * rev) Line 344	C
git.exe!cmd_log(int argc, const char * * argv, const char * prefix) Line 637	C
git.exe!run_builtin(cmd_struct * p, int argc, const char * * argv) Line 314	C
git.exe!handle_builtin(int argc, const char * * argv) Line 487	C
git.exe!run_argv(int * argcp, const char * * * argv) Line 536	C
git.exe!mingw_main(int argc, char * * av) Line 616	C
git.exe!main(int argc, char * * argv) Line 551	C

"Should never happen", ha-ha.


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]