libc.so gets() warning on FreeBSD
Markus Neteler
neteler at geog.uni-hannover.de
Fri May 26 05:33:55 EDT 2000
On Fri, May 26, 2000 at 09:24:16AM +1000, James Cameron wrote:
> 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.
Hi all,
using GRASS 4.x with gets obviously does not cause problems
(beside the compile warnings).
Side note: GRASS 5 does not use gets() but fgets(). It was heavily
upgraded the last month by many contributors.
Best wishes
Markus
More information about the grass-user
mailing list