mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
Avoid calling signal(SIGPIPE, ..) for MinGW builds.
SIGPIPE isn't supported in MinGW. Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
This commit is contained in:
@@ -100,9 +100,11 @@ int cmd_verify_tag(int argc, const char **argv, const char *prefix)
|
||||
i++;
|
||||
}
|
||||
|
||||
#ifndef __MINGW32__
|
||||
/* sometimes the program was terminated because this signal
|
||||
* was received in the process of writing the gpg input: */
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
while (i < argc)
|
||||
if (verify_tag(argv[i++], verbose))
|
||||
had_error = 1;
|
||||
|
||||
Reference in New Issue
Block a user