Bug in closedir
T. William Wells
bill at twwells.com
Sun Sep 17 20:32:32 AEST 1989
In article <11081 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
: In article <1989Sep16.025206.5915 at twwells.com> bill at twwells.com (T. William Wells) writes:
: >Closedir, on my Microport SysV/386 3.0e, frees the DIR structure
: >and then closes the file using the first field of that structure.
: >... No doubt this bogosity is present throughout the library.
:
: I don't know about the last statement. I suspect Microport is using AT&T's
: closedir() implementation, the SVR3.0 version of which was derived from one
: of my earlier public-domain implementations. R. Salz pointed out the bug
: to me and I fixed it long ago; here is my current version:
The closedir on my system consists of just the three calls: two frees
and a close. There is no error checking of any kind.
---
Bill { uunet | novavax | ankh | sunvice } !twwells!bill
bill at twwells.com
More information about the Comp.bugs.sys5
mailing list