Fix following issues in Solaris port:     coredump when non-existent file specified     list() function does not work in solaris.
Fix following issues in Solaris port:
    coredump when non-existent file specified
    list() function does not work in solaris.

alex/xattr,alex/xattr