🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #140

Re: closedir() bug report (SVr3.1)

#140
From: Doug Gwyn
Date: Fri, 27 Oct 1989 16:59
9 lines
1083 bytes
In article <5890003@hpcupt1.HP.COM> vandys@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).
Technical Details
Message-ID: <11418@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!samsung!ginosko!aplcen!haven!adm!smoke!gwyn
References: <89Oct23.223414edt.2151@neat.cs.toronto.edu> <5890003@hpcupt1.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!samsung!ginosko!aplcen!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.bugs.sys5
Subject: Re: closedir() bug report (SVr3.1)
Message-ID: <11418@smoke.BRL.MIL>
Date: 27 Oct 89 16:59:57 GMT
References: <89Oct23.223414edt.2151@neat.cs.toronto.edu> <5890003@hpcupt1.HP.COM>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 9