]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(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)
commit1c84606b568fb042441dda54f8d5bd286139e693
tree2db833a6a94c84ea0af2e7ae4f8163c24f5bcef8
parentb1b273f24f3e4efeb55c7ef79c2cdb773f1e7440
(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