http://anonsvn.mono-project.com/viewvc?view=rev&revision=101444 https://bugs.gentoo.org/225409 backport for glibc-2.8 stablization https://bugs.gentoo.org/show_bug.cgi?id=247553 --- trunk/mono/mono/io-layer/wapi_glob.c 2008/04/22 14:29:40 101443 +++ trunk/mono/mono/io-layer/wapi_glob.c 2008/04/22 14:44:10 101444 @@ -299,11 +299,14 @@ } pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; +#if 0 + /* Broken on opensuse 11 */ if ((pglob->gl_flags & WAPI_GLOB_LIMIT) && newsize + *limitp >= ARG_MAX) { errno = 0; return(WAPI_GLOB_NOSPACE); } +#endif return(copy == NULL ? WAPI_GLOB_NOSPACE : 0); }