Samba 3.0: vfs_netatalk.c

Christopher R. Hertel crh at
Tue Feb 11 21:13:05 GMT 2003

On Tue, Feb 11, 2003 at 02:00:18PM -0700, Anthony Liguori wrote:
> > One catch is that there is a difference between BSD and System V
> > implementations, but that's something that should be handle-able with
> > ./configure.  It seems to me that in either case the data could be sorted
> > using the binary tree stuff or by qsort().  This should be fairly
> do-able.
> On some systems, scandir() doesn't even exist.  I think the only reason why
> there's been any discussion as to whether this is a problem is because of
> the fact that it's a module.  I think the general sentiment has been that
> even modules need to be concerned about portability unless there's good
> reason.

Thus my thinking that it might be worth writing a replacement that would 
be platform-independent.  The only hitch, I *believe*, is that there may 
be differences in the dirent structure between systems, but surely this is 
something we've solved elsewhere.

Chris -)-----

Samba Team --     -)-----   Christopher R. Hertel
jCIFS Team --   -)-----   ubiqx development, uninq.
ubiqx Team --     -)-----   crh at
OnLineBook --    -)-----   crh at

More information about the samba-technical mailing list