Thanks to Ramzi Zabaneh for Solaris 2.6 port and bug fixes. Thanks to Rob Browning for patches supporting lstat() and S_ISXXXX.