Collin Funk wrote: 0001: + glob_t g; + int res; ... + return !(res == 0);
If malloc() fails, res is uninitialized, and the return statement is undefined behaviour. The probability that this happens is low, but it may produce a compiler warning, and with -Werror this compiler warning would lead to a wrong configure test result. Suggestion: + int res = 0; Bruno
