Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82678 --- shadow/82678 2007-09-04 09:14:56.000000000 -0400 +++ shadow/82678.tmp.16923 2007-09-04 09:24:37.000000000 -0400 @@ -213,6 +213,11 @@ ------- Additional Comments From [EMAIL PROTECTED] 2007-09-04 09:14 ------- I think you should malloc() the proper length sizeof(dirent) + MAX(PATH_MAX, NAME_MAX) + 1, which is what the documentation for the function actually says is needed. Retarded systems like hurd that don't follow the interface are not our problem. For the alignment issue you should use a union, like the documentation suggests. + +------- Additional Comments From [EMAIL PROTECTED] 2007-09-04 09:24 ------- +Is there a platform for which PATH_MAX isn't defined? + +(i.e. why have the `#ifndef PATH_MAX' block?) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
