On Tue, 19 May 2009, Oscar del Rio wrote:
Solaris 9 and earlier had scandir() in the SunOS/BSD Compatibility Library Functions, and you had to compile with /usr/ucb/cc or link with the libucb libraries, which could caused other linking problems. The usual way to compile software that uses scandir() was to have a private scandir() function which is available with many programs.
Ah, yes, it's coming back to me now. I remembered that scandir() was broken, but I wasn't sure if it was due to libucb or other brokenness. For example of the latter, for the longest time Solaris had an unbelievably slow implementation of strstr().
That whole /usr/ucb/cc and libucb thing was a complete nightmare, and caused me no end of problems for many years. libucb could be a textbook example of how NOT to do a compatibility API, as it created incompatibility after incompatibility.
-- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. _______________________________________________ Imap-uw mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
