Bug in closedir

T. William Wells bill at twwells.com
Sat Sep 16 12:52:06 AEST 1989


Closedir, on my Microport SysV/386 3.0e, frees the DIR structure
and then closes the file using the first field of that structure.
If you are using -lmalloc, which trashes the freed data, you are
going to be unpleasantly surprised.

No doubt this bogosity is present throughout the library.

---
Bill                    { uunet | novavax | ankh | sunvice } !twwells!bill
bill at twwells.com



More information about the Comp.bugs.sys5 mailing list