"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

Reply via email to