https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217
James K. Lowden <jklowden at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jklowden at gcc dot gnu.org --- Comment #20 from James K. Lowden <jklowden at gcc dot gnu.org> --- NAME_MAX has been removed entirely as of ca44643f75c437fb1fb4b17e59b72bc836d12cc6. > * GLOB_BRACE and GLOB_TILDE are not in POSIX.1 and missing on Solaris: What is the rule? When cobol is enabled, both c and c++ are built, too. I was told a bootstrap build is the standard, and that libgcobol should link to the just-built libstdc++. Is that not true of libc, too? Or does that rule apply only to the target, whereas the compiler runs on the host and uses the host system libraries? The patch (which was applied) to #define GLOB_BRACE 0 indeed compiles, and will never work. Braces are supplied in the pattern as static text; if not expanded by the library, glob(3) will not execute the intended search. If we are constrained to work with every libc and not only glibc, then my answer to would be to add xglob to libiberty. At least then the work would be useful outside the GCC COBOL front end.