Re: use result of open(2) to check for presence

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2006-01-06 02:12:22
On 1/5/06, Morten Welinder <mwelinder@gmail.com> wrote:
> Neat, but perhaps you should check the fstat return code.
> It actually can fail, for example if the filesize cannot be represented in the
> structure because it is too big.

Yes, of course. It will be added along with the missing test for mmap
returning MAP_FAILED. Sometime.

Sarcasm aside, how do you get such a situation?
-
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 Fri Jan 06 02:12:58 2006

This archive was generated by hypermail 2.1.8 : 2006-01-06 02:13:05 EST