This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: opendir crashes with -mno-cygwin
- To: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Subject: Re: opendir crashes with -mno-cygwin
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 30 Mar 2001 09:46:32 -0500
- CC: Andre Bleau <bleau at igb dot umontreal dot ca>, cygwin at sources dot redhat dot com
- References: <4.3.1.2.20010329200632.0216a1e8@pop.ma.ultranet.com>
- Reply-To: cygwin at sources dot redhat 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