home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: brian.haug@ncrcae.columbiasc.NCR.COM ("Brian R. Haug")
-
- I've recently encountered a problem with seekdir in that it does not work
- when the directory is on a device incapable of seeking (like the /dev/fd
- filesystem in SVR4) because seekdir calls lseek which fails. I realize that
- seekdir is no part of POSIX, but we have to be compatible with SVID and X/OPEN
- too.
-
- Basicly, I'm interested in hearing what other people think about this "problem."
- POSIX seems to have done a good job covering all the bases, as it does not
- allow chroot, which would prevent re-opening the file to implement rewinddir.
- Unfortunately, SVID and X/OPEN allow chroot. And, of course, neither
- rewinddir nor seekdir returns values to indicate failure.
-
- Comments about the standard, problem, or proposed solutions would be greatly
- appreciated.
-
- Share and Enjoy!
-
- Brian
-
-
- Volume-Number: Volume 27, Number 36
-
-