Mail Archives: djgpp/1994/12/10/00:26:30
If I have a file open and I chmod on that file, my open file handle is
invalidated. How do I know? If I close the file handle after doing
the chmod, I get an error about an illegal file handle. Is this
expected behavior from DJGPP? The other option would be to use
fchmod, but this call responds with the error that it is
unimplemented.
In addition, I am not clear if the mode bits in the stat structure are
set according to the mode bits in DOS. I believe I was seeing a file
as read only if I opened it for reading even though that file was RW
on disk.
--
Marc Singer
elf AT netcom DOT com
- Raw text -