From: hlu@luke.eecs.wsu.edu (H.J. Lu) Subject: Fixed (Re: Buggy scandir in Libc4.3 (was: Problem with aXe loading files) Date: 28 Feb 1993 03:46:21 GMT
In article <1993Feb27.204041.43779@ns1.cc.lehigh.edu> dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON) writes:
>In article <C32CM4.C6p@ra.nrl.navy.mil>, eric@tantalus.nrl.navy.mil (Eric Youngdale) writes:
>>In article <1993Feb26.130945.9034@dcs.warwick.ac.uk> alfie@dcs.warwick.ac.uk (Nick Holloway) writes:
>>>But, does this mean that dereferencing a null function pointer will _not_
>>>cause the program to abort? Or is it something magic inside library?
>
>I don't think the problem noticed with aXe was the scandir() library function.
>I had a version with a hack of BSD's scandir() and alphasort() replacing the
>library functions that were missing at 0.96/gcc2.2.2. I compiled aXe with
>those programs in it, and using the library versions, and got the same
>result. If the scandir() in the new library were at fault, wouldn't it not
>do that with my own version?
>
>BTW, the author of aXe is aware of the problem. He will be coming out with a
>new version ``this weekend''. Maybe that'll fix it, maybe not. We'll see.
>
It has been fixed in the upcoming libc 4.3.2.
H.J.