This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [BUG] scandir bug


On Wed, Sep 19, 2001 at 12:23:15PM +0800, D G wrote:
>According to the scandir man page,
>
>scandir(dirname,&entries,NULL,NULL);
>
>should work (in fact, it does on linux and hpux).  However, on cygwin this causes a segmentation violation.
>
>Workaround is to use:
>
>scandir(dirname,&entries,NULL,alphasort);

Why are you providing "workarounds" rather than "fixes"?

This isn't a proprietary application where you have to guess at
what's going wrong.

Send in a patch and we'll put it in the sources.  Then everyone
will benefit.

cgf
(Who wonders how many times he has to make this point and why people
just don't get it)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]