make getmntent_r discard long lines when it returns error, not seek back
authorRich Felker <dalias@aerifal.cx>
Wed, 28 Sep 2011 23:37:14 +0000 (19:37 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 28 Sep 2011 23:37:14 +0000 (19:37 -0400)
commitede5ae7b0bb5a7ed9edeb2eeb8e24d30af64d185
treeacb18b5c3b9953a8db8124337af1f5531687da9b
parent9cee9307e3b8ed31e772d564d1dc53e6d888acba
make getmntent_r discard long lines when it returns error, not seek back

seeking back can be performed by the caller, but if the caller doesn't
expect it, it will result in an infinite loop of failures.
src/linux/mntent.c