Merge branch 'tr/fd-gotcha-fixes'
commit1d1934caf1c927cb12cd76aa6ced9eab51a3d435
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:12 +0000 (22 11:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:13 +0000 (22 11:23 -0700)
tree7221825fc2700eb3b743335c2dc2b55e22b4d0c8
parent6a5b9ce5e12f039b126b1c97be7ba1b63ace5149
parenta77f106c7837faf6a712ea3ac720f5c4fa2feb07
Merge branch 'tr/fd-gotcha-fixes'

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()
run-command.c
wrapper.c