Subject: [htdig3-dev] Re: scandir build problem with solaris
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Tue Sep 12 2000 - 20:24:37 PDT
At 8:10 PM -0500 9/12/00, Don Sleffel wrote:
>I think this would be a problem. Some discussion of this problem
>on deja-news indicates that it is not worth the effort to try and
>use scandir on SYSV systems. They prefer to use readdir.
Fooey. Someone pointed out scandir in a related context and I thought
it looked so nice for the file:// code. The man page I had even had
nice sample code to copy and adapt. :-)
>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.
Thanks a ton for the sleuthing,
-Geoff
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Sep 12 2000 - 20:30:46 PDT