Geoff Hutchison's bits of Tue, 12 Sep 2000 translated to:

>At 8:10 PM -0500 9/12/00, Don Sleffel wrote:

>>It looks like the other alternative is to reproduce the scandir
>>functionality for SYSV systems using readdir.  Below is some
>>public domain code that is supposed to do that.  Geoff, does this
>>have any interest for you?
>
>If someone could try building that as a C file on Solaris and tell me 
>if it works appropriately, I'll figure out a way to get it in. 
>Probably the best way to do it is to have a configure test for 
>scandir and substitute that code otherwise.

After a bit of tweaking, it will build with an ANSI C compliant compiler.
I will try to find some time to test it tomorrow, and if it looks good,
send back a cleaned up copy.

Based on the email I received, I think there was a little cut and paste
fumble ;) I believe this bit near the bottom of scandir was doubled up.

                                return(-1);
                }

At least I hope that is the case. Otherwise some of the code is missing.

Jim



------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to