Mail Archives: cygwin/2001/09/19/00:24:08
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/
- Raw text -