X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstat-macros.h;h=829ddd35da57c988acb2e08f6e25f46da075e21b;hb=331f6ee713f7038d6d1a1c0451016c8aaab6a079;hp=69218f43aa3f23c36ae403d6a86d777109d74a49;hpb=c4da5fc90ff7ff8ef395c84be4b14e0a3d404cbb;p=gnulib.git diff --git a/lib/stat-macros.h b/lib/stat-macros.h index 69218f43a..829ddd35d 100644 --- a/lib/stat-macros.h +++ b/lib/stat-macros.h @@ -1,6 +1,7 @@ /* stat-related macros - Copyright (C) 1993, 1994, 2001, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 2001, 2002, 2004, 2006 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 @@ -14,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Paul Eggert and Jim Meyering. */ @@ -33,7 +34,6 @@ # undef S_ISBLK # undef S_ISCHR # undef S_ISDIR -# undef S_ISDOOR # undef S_ISFIFO # undef S_ISLNK # undef S_ISNAM @@ -70,11 +70,7 @@ # endif # ifndef S_ISDOOR /* Solaris 2.5 and up */ -# ifdef S_IFDOOR -# define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR) -# else -# define S_ISDOOR(m) 0 -# endif +# define S_ISDOOR(m) 0 # endif # ifndef S_ISFIFO @@ -119,6 +115,10 @@ # endif # endif +# ifndef S_ISPORT /* Solaris 10 and up */ +# define S_ISPORT(m) 0 +# endif + # ifndef S_ISREG # ifdef S_IFREG # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) @@ -161,6 +161,26 @@ # endif # endif +/* high performance ("contiguous data") */ +# ifndef S_ISCTG +# define S_ISCTG(p) 0 +# endif + +/* Cray DMF (data migration facility): off line, with data */ +# ifndef S_ISOFD +# define S_ISOFD(p) 0 +# endif + +/* Cray DMF (data migration facility): off line, with no data */ +# ifndef S_ISOFL +# define S_ISOFL(p) 0 +# endif + +/* 4.4BSD whiteout */ +# ifndef S_ISWHT +# define S_ISWHT(m) 0 +# endif + /* If any of the following are undefined, define them to their de facto standard values. */ # if !S_ISUID