libc.so gets() warning on FreeBSD

James Cameron quozl at us.netrek.org
Thu May 25 19:24:16 EDT 2000


On Fri, May 26, 2000 at 04:14:32AM +0900, User for GRASS wrote:
> GRASS 4.2 uses gets() function, which is unsafe, many times and
> libc.so warns this every gets() call. There are so many garbage output.
> You should rebuild standard c library.

Isn't there a library that GRASS uses that you could define a replacement
gets() in that uses fgets() instead?  Changing libc seems brutal.

-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/




More information about the grass-user mailing list