On Sun 2008-05-18 13:18:34 UTC-0000, Nico Heinze ([EMAIL PROTECTED]) wrote:
> > With regards to the findfirst() issue, you should really be > > using opendir() instead. > > Unfortunately that might not work, depending on the compiler you work > with. opendir() is one of many POSIX compliant functions that have not > been implemented by Microsoft; instead they have defined their own > function FindFirst() and Findnext() for these tasks, so POSIX > conformant source codes cannot too easily be ported to Windows. I noticed the OP was using Cygwin, so based my reply around that. You're right though, Microsoft (still) doesn't provide opendir() in their standard library. I find that a bit surprising. It's not too difficult to provide your own though, or find code to do the same, eg. http://synesis.com.au/software/unixem.html
