]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Add compile and link-time deprecation warnings for fgetln()
authorGuillem Jover <guillem@hadrons.org>
Tue, 22 Sep 2015 14:22:56 +0000 (16:22 +0200)
committerGuillem Jover <guillem@hadrons.org>
Wed, 23 Sep 2015 05:59:34 +0000 (07:59 +0200)
commit151bc71d64845a1798561e66fa62ee0d62f4a03c
treec84778179105d861e9cb15f1e881d546a08adfe0
parent41ff37bbccea236d67b0d54c97477741a6f13dab
Add compile and link-time deprecation warnings for fgetln()

Although the current implementation in libbsd is probably one of the
safest ones around, it still poses some problems when used with many
file streams. This function has now a replacement, that is both more
standard and portable. Ask users to switch to getline(3) instead.
include/bsd/stdio.h
src/fgetln.c
test/Makefile.am