This is the mail archive of the cygwin-developers@sourceware.cygnus.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: (patch) errno and misc changes for scandir


FYI, this change and your change to dll_init.cc have both been applied.

Thanks,
Chris

On Sun, May 23, 1999 at 11:51:10AM -0500, Mumit Khan wrote:
>The following change to scandir is needed to avoid setting errno incorrectly.
>There is one more change that I didn't include -- comparison function that
>takes void*, not struct dirent* to be glibc2.1 compatible. It's not a big
>deal either way since scandir/alphasort is not part of POSIX; I just didn't 
>feel like changing the headers as well.
>
>Sat May 22 21:45:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
>
>	* scandir.cc (scandir): Handle errno correctly. Do preallocation to 
>	reduce realloc calls.
>	(alphasort): Use strcoll, not strcmp.

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