On Mon, Dec 09, 2013 at 03:01:55PM -0800, Les Howell wrote:
> unless something has  changed recently fputs and puts just like gets and
> fgets have been deprecated and are discouraged due to potential security
> issues.

That is wrong.  Only gets is deprecated (removed in C11, obsolescent in
POSIX 2008, etc.), because it fills in a buffer without telling the library
the size of the buffer, so it is pretty much always a security issue to use
gets.  All other functions you've listed aren't deprecated at all.

        Jakub
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to