Merge branch 'tr/fd-gotcha-fixes'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:12 +0000 (11:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:13 +0000 (11:23 -0700)
Two places we did not check return value (expected to be a file
descriptor) correctly.

* tr/fd-gotcha-fixes:
  run-command: dup_devnull(): guard against syscalls failing
  git_mkstemps: correctly test return value of open()

1  2 
run-command.c
wrapper.c

diff --cc run-command.c
Simple merge
diff --cc wrapper.c
Simple merge