(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
authorJim Meyering <jim@meyering.net>
Tue, 30 Jun 1998 02:15:43 +0000 (02:15 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 30 Jun 1998 02:15:43 +0000 (02:15 +0000)
commit07ce9324ed9c846fb77a891248d3601770190731
treec62824b948bbde7379002cd34859bcb4dff6e56f
parent42b5becc924026e55af425c98355b4c17e5091bc
(read_filesystem_list): If SVR4, lock /etc/.mnttab.lock if available,
to avoid race conditions (e.g. with the automounter on Solaris 2.6).

Include <errno.h>, <fcntl.h>, <unistd.h>.
lib/mountlist.c