ptr_t

Nick Burrett nick at dsvr.net
Thu Feb 7 02:30:50 PST 2002


Christian Ludlam <chris at recoil.org> writes:

> On 31 Jan Nick Burrett wrote:
> 
> > Christian Ludlam <chris at recoil.org> writes:
> 
> > > What should I do?
> 
> > Fix the prototype in dirent.h. It should be:
> 
> > int scandir(const char *dir, struct dirent ***namelist,
> >             int (*select)(const struct dirent *),
> >             int (*compar)(const struct dirent **, const struct dirent **));
> 
> OK, attached is scandir() and alphasort().

Thanks. I've committed the scandir patch.  But we already have an
implmentation of alphasort.

I'm not convinved that alphasort should use strcoll over strcmp since
I don't think locales are relevant under RISC OS filesystems.

Nick.



More information about the gcc mailing list