]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Report an error if neither S_ISREG nor
authorJim Meyering <jim@meyering.net>
Wed, 19 Jun 2002 11:12:59 +0000 (11:12 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Jun 2002 11:12:59 +0000 (11:12 +0000)
commitf35cc0e4a0beba8c080e31ef3fd17a83e51f377b
tree4dbad32662a3a1d1686d769db01ce97b357e941e
parent86adc7266e3e464eaba9fd955132951daa62e1e9
Report an error if neither S_ISREG nor
S_IFREG is defined, instead of using a test specific to glibc
2.2.  This should be safe, since POSIX requires S_ISREG and
Unix Version 7 had S_IFREG.  We don't need to check for
<sys/types.h> since we don't use any symbols that it defines.
lib/file-type.h