summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-applypatch.sample
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@inf.ethz.ch>2013-07-12 10:58:36 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-12 10:30:09 -0700
commita77f106c7837faf6a712ea3ac720f5c4fa2feb07 (patch)
tree15ecb20533e86b9c215a1b94796ba476fb3ac249 /templates/hooks--pre-applypatch.sample
parentgit_mkstemps: correctly test return value of open() (diff)
downloadtgif-a77f106c7837faf6a712ea3ac720f5c4fa2feb07.tar.xz
run-command: dup_devnull(): guard against syscalls failing
dup_devnull() did not check the return values of open() and dup2(). Fix this omission. Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-applypatch.sample')
0 files changed, 0 insertions, 0 deletions