mingwin: dirent structure d_name field is pointer not array

Reuben Thomas rrt1001@cam.ac.uk
Thu Feb 22 06:11:00 GMT 2001


I'm not sure if this counts as a bug, but readdir as defined by POSIX has a
field char d_name[], but in mingwin it's a char *, which caused me a fair
amount of grief working out why I was getting rubbish for the contents of
directories...

-- 
http://sc3d.org/rrt/ | Caution Children At Play Drive Slowly


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



More information about the Cygwin mailing list