summaryrefslogtreecommitdiff
path: root/contrib/thunderbird-patch-inline
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2009-01-28 02:36:39 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-28 14:09:35 -0800
commit1d64f21d9949ac1dd59fa722160e46181d92854d (patch)
treeea38efd5e19ff0c219e1f8f17394c873925fe852 /contrib/thunderbird-patch-inline
parentrun_command(): handle missing command errors more gracefully (diff)
downloadtgif-1d64f21d9949ac1dd59fa722160e46181d92854d.tar.xz
run_command(): help callers distinguish errors
run_command() returns a single integer specifying either an error code or the exit status of the spawned program. The only way to tell the difference is that the error codes are outside of the allowed range of exit status values. Rather than make each caller implement the test against a magic limit, let's provide a macro. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/thunderbird-patch-inline')
0 files changed, 0 insertions, 0 deletions