David Keijser schrieb: > [...] > I second this. readline is not only better but gets() is not even safe > (see man 3 gets) > [...]
True. It should be noted, though, that Vala does *not* provide a binding for gets(3), but only for fgets(3). The latter function does *not* share the inherent buffer overflow risk of gets(3), especially not when used via the Vala binding which ensures that the correct length of the target buffer is passed in. cu, Thomas _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
