Hi. If I open a file for read/write and then unlink it (the old Unix idiom for temporary files), fstat() on the file's fd shows that st_mode has changed from regular file to directory.
Regards, Mark. : ASHOKA ; ./xx /tmp/bt.XXXXXX before unlink: mode 0x81a4 fmt 0x8000 size 0 after unlink: mode 0x416d fmt 0x4000 size 0
xx.c
Description: Binary data
cygcheck.out
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/