Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20010919042317.30464.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) From: "D G" To: cygwin AT cygwin DOT com Date: Wed, 19 Sep 2001 12:23:15 +0800 Subject: [BUG] scandir bug 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); but the code should either be fixed, or the man page corrected. (This happens on cygwin 1.3.2 for NT and win98, btw.) -- -- Daniel ZZZ-dgun-ZZZ- AT umpire-ZZZ- DOT com (remove the Z-'s to reply--they're what I do when I read spam) _______________________________________________ Have you downloaded the latest calling software from Net2Phone? Click here to get it now! http://www.net2phone.com/cgi-bin/adforward.cgi?p_key=NH211JK&url=http://commcenter.net2phone.com/ -- 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/