delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/19/07:04:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 19 Sep 2001 07:01:00 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [BUG] scandir bug
Message-ID: <20010919070100.C12960@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20010919042317 DOT 30464 DOT qmail AT mail DOT com>
Mime-Version: 1.0
In-Reply-To: <20010919042317.30464.qmail@mail.com>
User-Agent: Mutt/1.3.21i

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/

- Raw text -


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