use result of open(2) to check for presence

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2006-01-05 22:43:34
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>

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Thu Jan 05 22:44:15 2006

This archive was generated by hypermail 2.1.8 : 2006-01-05 22:44:23 EST