olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1505492-undef-xfs-chown.patch

00db10
Fix -Wundef warning.  Upstream addressed this differently via:
00db10
00db10
commit a4ccbc9b243926a9904624b387fb18583c3d4d4d
00db10
Author: Joseph Myers <joseph@codesourcery.com>
00db10
Date:   Wed Jun 25 16:39:33 2014 +0000
00db10
00db10
    Remove __ASSUME_XFS_RESTRICTED_CHOWN.
00db10
00db10
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
00db10
index febdc3731119bfce..0ed2abb9cb1d618d 100644
00db10
--- a/sysdeps/unix/sysv/linux/pathconf.c
00db10
+++ b/sysdeps/unix/sysv/linux/pathconf.c
00db10
@@ -284,7 +284,7 @@ __statfs_chown_restricted (int result, const struct statfs *fsbuf)
00db10
       return -1;
00db10
     }
00db10
 
00db10
-#if __ASSUME_XFS_RESTRICTED_CHOWN
00db10
+#ifdef __ASSUME_XFS_RESTRICTED_CHOWN
00db10
   return 1;
00db10
 #else
00db10
   int fd;