From 00489c764ac8617f5c3c11b4859d3061eaf5284d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 9 Jul 2002 08:40:15 +0000 Subject: (ME_DUMMY): Don't count entries of type `auto' as dummy ones. At least on GNU/Linux systems, `auto' means something else. From Michael Stone. --- lib/mountlist.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/mountlist.h b/lib/mountlist.h index 935a2dcab..8aab8ff95 100644 --- a/lib/mountlist.h +++ b/lib/mountlist.h @@ -1,5 +1,5 @@ /* mountlist.h -- declarations for list of mounted filesystems - Copyright (C) 1991, 1992, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1998, 2000-2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,8 +39,7 @@ struct mount_entry *read_filesystem_list PARAMS ((int need_fs_type)); #ifndef ME_DUMMY # define ME_DUMMY(Fs_name, Fs_type) \ - (!strcmp (Fs_type, "auto") \ - || !strcmp (Fs_type, "autofs") \ + (!strcmp (Fs_type, "autofs") \ /* for Irix 6.5 */ \ || !strcmp (Fs_type, "ignore")) #endif -- cgit v1.2.3-54-g00ecf