in reply to (tilly) : Can't find it :-(
in thread flock - lordy me....
I guess all bets are off in the case of kernel bugs. But I'd leave the manual flush in since the kernel might implement close() incorrectly and do the lock freeing before it does the buffer flushing.
I would hope that flock would return a failure indication if you used it on a filesystem where it wasn't supported. Not that anyone has been checking the return code in their examples so far...
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: Can't find it :-(
by tilly (Archbishop) on Jan 17, 2001 at 01:41 UTC |