summaryrefslogtreecommitdiff
path: root/src/linux/mntent.c
AgeCommit message (Collapse)AuthorLines
2011-09-28make getmntent_r discard long lines when it returns error, not seek backRich Felker-2/+1
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.
2011-09-27improve error handling in mntent stuff...Rich Felker-2/+9
not sure if this is correct/ideal. it needs further attention.
2011-04-06fix completely bogus loop condition in getmntent_rRich Felker-1/+1
somehow this worked on my simple fstab, but horribly broke in general, leading to use of uninitialized offset array and crashes.
2011-04-05add getmntent_r interface (all of mntent is nonstandard anyway)Rich Felker-12/+17
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+57