>readdir()    - Different implementations, but apparently identical
>          semantics and structures.  Could probably be eliminated.

Nope, /usr/ucbinclude/sys/dir.h vs <dirent.h>

>re_comp()
>re_exec()    - These are backed by nearly identical sources, with just
>          some stylistic and lint fixes (e.g. substituting 0 for NULL
>          and casting).  Could be eliminated.
>
>scandir()
>alphasort()    - Nearly identical implementations, and identical semantics.
>          Could be eliminated.

See readdir.

You're missing signal (different semantics)

Issues with alloc (worst problem to debug at the time was that SunOS malloc
uses the "buddy allocator" and it was very forgiving.  Standard Solaris 
wasn't so forgiving.  (But we have much better tools now)

Casper

Reply via email to