From: Jim Meyering Date: Tue, 9 Jul 2002 08:40:15 +0000 (+0000) Subject: (ME_DUMMY): Don't count entries of type `auto' as dummy ones. X-Git-Tag: FILEUTILS-4_1_10~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00489c764ac8617f5c3c11b4859d3061eaf5284d;p=thirdparty%2Fcoreutils.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 935a2dcabd..8aab8ff959 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