Samba 3.0: vfs_netatalk.c

jra at jra at
Tue Feb 11 21:20:42 GMT 2003

On Tue, Feb 11, 2003 at 03:23:37PM -0500, Green, Paul wrote:
> Anthony Liguori [mailto:aliguor at] wrote:
> > 
> > scandir() (and it's [alpha|version]sort() brethren) is a BSD/Linux-ism and
> > therefore isn't very portable.  Since this is in a VFS module (and
> > therefore only optional) I guess this is ok.
> then Herb Lewis [mailto:herb at] found this info:
> > IRIX: scandir, scandir64, alphasort, alphasort64
> > BSD: scandir, alphasort
> I just checked and neither scandir* nor alphasort* are in POSIX-1996 or
> POSIX-2001.  I'm not trying to build vfs_netatalk here on VOS, but if I was,
> it looks like I'd be writing some code first. I don't consider these
> functions portable either.  My vote is for sticking with functions in POSIX
> if at all possible.

Indeed. We must remove non-POSIX'isms from the code asap.


More information about the samba-technical mailing list