On Sunday 24 October 2004 2:17, Stefan Teleman wrote: > On Solaris, readdir_r(3C) does not allocate a buffer for char > d_name[1] in struct dirent. The caller is responsible for allocating > space for struct dirent.d_name, enough to hold MAXPATHLEN+1. Looks mostly correct. I'll clean it up a little and apply it today. -Scott