On Fri, Jun 15, 2007 at 12:27:15AM +0200, Joerg Schilling wrote: > Bill Sommerfeld <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-06-14 at 09:09 +0200, [EMAIL PROTECTED] wrote: > > > The implication of which, of course, is that any app build for Solaris 9 > > > or before which uses scandir may have picked up a broken one. > > > > or any app which includes its own copy of the BSD scandir code, possibly > > under a different name, because not all systems support scandir..
So far, all the local implementations of the BSD scandir() that I've found are called scandir(). Some of them are smart enough not to use st_size, the rest of them are straight copies of the BSD code. > 15 years ago, Novell Netware started to return a fixed size of 512 for all > directories via NFS. > > If there is still unfixed code, there is no help. The Novell behavior, commendable as it is, did not break the BSD scandir() code, because BSD scandir() fails in the other direction, when st_size is a low number, like less than 24. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss