author | Alex Riesen <raa.lkml@gmail.com> | |
Thu, 5 Jan 2006 11:43:34 +0000 (12:43 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Jan 2006 01:22:51 +0000 (17:22 -0800) | ||
commit | 88fb958baa1066af23348c44a78b812be2344088 | |
tree | cf5d0eb59166f8cdac1d80c55365aff72030d28d | tree | snapshot |
parent | d9e08be9d5b632aed84d4ee870543babafe6614b | commit | diff |
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>
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>
config.c | diff | blob | history |