From: Jim Meyering Date: Thu, 21 Nov 2002 08:32:22 +0000 (+0000) Subject: (ME_DUMMY): Don't count entries of type `auto' as dummy X-Git-Tag: cvs-readonly~5193 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=916b98f9d2fafe74d3f0ac632766e34699dcbfed;p=gnulib.git (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. --- 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