]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(read_filesystem_list):
authorJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 00:48:11 +0000 (00:48 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 00:48:11 +0000 (00:48 +0000)
commit8f55e63084874c59a9a7d9227ca4f52051d74a0d
treefd79852e5c21c09bd69297dfc80b61f3e1b8c458
parent2eb479a6827d12a0feac2165e1c9123df3d32e64
(read_filesystem_list):
Don't leak memory on failure.
Don't create a dummy struct mount_entry entry;
use the address-of-the-tail-address method instead.
Preserve errno if possible on failure, setting it to 0 if inapplicable.
Close file descriptor leak if the F_SETLKW failed.
Report an error if SVR4 lock file cannot be opened for some reason
other than a nonexistent lock file.
lib/mountlist.c