closedir() bug report (SVr3.1)

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Oct 28 02:59:57 AEST 1989


In article <5890003 at hpcupt1.HP.COM> vandys at hpcupt1.HP.COM (Andrew Valencia(Seattle)) writes:
-	... after free is performed this space is made available
-	for further allocation, but its contents are left undisturbed.
-				=====================================
-You can claim that this is WRONG, but for compatibility I'd recommend not
-going against the grain with alternative malloc/free implementations.

On the other hand, no code should be written to depend on this "guarantee".
Thus closedir() really did have a bug (I should know; I wrote it).



More information about the Comp.bugs.sys5 mailing list