Paul Eggert <[email protected]> writes: > On 03/29/2012 02:44 AM, Bruno Haible wrote: >> I think gnulib should >> 1) not assume that the function is declared, >> 2) have a deprecated module 'gets' that declares this function only if >> the declaration is missing. > > How about if gnulib drops support for gets instead?
+1 > That would be simpler. Gnulib shouldn't be catering > to apps that use gets, since gets should never > be used by anybody. It would be nice if gnulib warned about using gets, though, but maybe that leads to the kind of problem indicated by this thread. '#define gets DO_NOT_USE_GETS_BECAUSE_IT_IS_INSECURE'? /Simon
