www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/05/24/14:30:07

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Mon, 24 May 1999 14:30:39 -0400
To: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>
Cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: (patch) errno and misc changes for scandir
Message-ID: <19990524143039.C27801@cygnus.com>
References: <199905231651 DOT LAA03799 AT mercury DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.3i
In-Reply-To: <199905231651.LAA03799@mercury.xraylith.wisc.edu>; from Mumit Khan on Sun, May 23, 1999 at 11:51:10AM -0500

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 AT xraylith DOT wisc DOT edu>
>
>	* scandir.cc (scandir): Handle errno correctly. Do preallocation to 
>	reduce realloc calls.
>	(alphasort): Use strcoll, not strcmp.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019