At 07:33 17/01/2003 -0500, you wrote:
I use Solaris myself. But its not limited to Solaris. There would be problems with AIX, IRIX, HP-UX and any other *real* unix.
This is an excellent point, thanks for expanding on it!
This is the case with my current client and my last 3 clients. They all have Sun hardware and a preference for Solaris as the OS. Gone are the days of the dot-com bubble and the money tree.Major businesses typically *only* use one of the *real* unix's, go check with Sony, Citibank, any of the Wall St. companies. The Fortune 500 are not migrating to linux, they're *still* buying Sun/Solaris and HP.
A quick check on a recent Slackware install tells me it is, at least on that distribution. Regardless, I agree that more care should be taken when coding to ensure POSIX and SVr4 compliance.scandir() and alphasort() are BSD only API's (and look to be simple convenience functions that could be easily coded anyway). As for the fts functions, I think they're BSD only, not even linux.
-- Steve