Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

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

From: Alex Riesen <hidden>
Date: 2016-06-15 22:42:15

On 1/5/06, Morten Welinder [off-list ref] 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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help