Revision ada9ecd98947aa0d80945f3a7a24486efcda370b authored by Junio C Hamano on 15 July 2015, 18:41:18 UTC, committed by Junio C Hamano on 15 July 2015, 18:41:18 UTC
The tcsh completion writes a bash scriptlet but that would have failed for users with noclobber set. * af/tcsh-completion-noclobber: git-completion.tcsh: fix redirect with noclobber
test-sigchain.c
#include "cache.h"
#include "sigchain.h"
#define X(f) \
static void f(int sig) { \
puts(#f); \
fflush(stdout); \
sigchain_pop(sig); \
raise(sig); \
}
X(one)
X(two)
X(three)
#undef X
int main(int argc, char **argv) {
sigchain_push(SIGTERM, one);
sigchain_push(SIGTERM, two);
sigchain_push(SIGTERM, three);
raise(SIGTERM);
return 0;
}
Computing file changes ...