diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2006-01-05 12:43:34 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-05 17:22:51 -0800 |
commit | 88fb958baa1066af23348c44a78b812be2344088 (patch) | |
tree | cf5d0eb59166f8cdac1d80c55365aff72030d28d /diff-index.c | |
parent | fix potential deadlock in create_one_file (diff) | |
download | tgif-88fb958baa1066af23348c44a78b812be2344088.tar.xz |
use result of open(2) to check for presence
Not that the stat against open race would matter much in this context,
but that simplifies
the code a bit. Also some diagnostics added (why the open failed)
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff-index.c')
0 files changed, 0 insertions, 0 deletions