delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/30/09:54:07

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AC49C48.DA82C507@yahoo.com>
Date: Fri, 30 Mar 2001 09:46:32 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin AT sources DOT redhat DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: Andre Bleau <bleau AT igb DOT umontreal DOT ca>, cygwin AT sources DOT redhat DOT com
Subject: Re: opendir crashes with -mno-cygwin
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010329200632 DOT 0216a1e8 AT pop DOT ma DOT ultranet DOT com>

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> At 10:53 AM 3/29/2001, Andre Bleau wrote:
> >The following very simple program segfaults in opendir when compiled with -mno-cygwin but runs OK when not compiled with -mno-cygwin. I tried with both gcc 2.95.3-1 and gcc 2.95.3-2.
> >
-8<-
> >
> >When compiled with -mno-cygwin, if the directory given as an argument to the program does not exist, opendir returns NULL as it should. If the directory does exist, for example ".", opendir segfaults.
> 

Works for me.  gcc-2.95.2-9.  NT 4 sp4

> Where are you getting the implementation of opendir() for -mno-cygwin?
> 

It's a MinGW default library function.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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