Author: arekm Date: Mon Dec 11 22:09:38 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - use system mkdirat, fchmodat, fchownat
---- Files affected: SOURCES: coreutils-system-openat.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/coreutils-system-openat.patch diff -u /dev/null SOURCES/coreutils-system-openat.patch:1.1 --- /dev/null Mon Dec 11 23:09:38 2006 +++ SOURCES/coreutils-system-openat.patch Mon Dec 11 23:09:33 2006 @@ -0,0 +1,24 @@ +diff -urN coreutils-6.7.org/m4/openat.m4 coreutils-6.7/m4/openat.m4 +--- coreutils-6.7.org/m4/openat.m4 2006-11-21 00:32:38.000000000 +0100 ++++ coreutils-6.7/m4/openat.m4 2006-12-12 00:02:35.949793500 +0100 +@@ -10,6 +10,12 @@ + + AC_DEFUN([gl_FUNC_OPENAT], + [ ++ needcompat=no ++ AC_CHECK_FUNC(mkdirat, [], [needcompat=yes]) ++ AC_CHECK_FUNC(fchmodat, [], [needcompat=yes]) ++ AC_CHECK_FUNC(fchownat, [], [needcompat=yes]) ++ ++ if test x$needcompat = xyes; then + # No system provides these functions; compile them unconditionally. + AC_LIBOBJ([mkdirat]) + AC_LIBOBJ([fchmodat]) +@@ -28,6 +34,7 @@ + [Define to rpl_ if the openat replacement function should be used.]) + gl_PREREQ_OPENAT;; + esac ++ fi + ]) + + AC_DEFUN([gl_PREREQ_OPENAT], ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
