]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Lock the file streams in fgetln() and fparseln()
authorGuillem Jover <guillem@hadrons.org>
Wed, 23 Sep 2015 05:10:18 +0000 (07:10 +0200)
committerGuillem Jover <guillem@hadrons.org>
Wed, 23 Sep 2015 05:59:34 +0000 (07:59 +0200)
commit0982dcd98b7561269fdddaef4388da7177de7603
treee589d124836e993ab52462031a95e86661f5976f
parentee26e59e727c51fcf4e01d4d4cab3b697bb6b31d
Lock the file streams in fgetln() and fparseln()

The fparseln() function had the NetBSD uppercase macros stubbed out,
so replace them with the actual stdio ones. The fgetln() function was
missing any locking at all.
src/fgetln.c
src/fparseln.c