Steve Holden wrote: > Anyway, when I try to use O_RDONLY on Vista I get > "Permission denied": According to the library ref, fchdir() is Unix-only, so there probably isn't a use case for getting a file descriptor for a directory on Windows in the first place. -- Greg