]> git.pld-linux.org Git - packages/coreutils.git/blame - coreutils-system-openat.patch
- Changed the meaning of -n: it only sets the space between sentences,
[packages/coreutils.git] / coreutils-system-openat.patch
CommitLineData
08c505fb
AM
1diff -urN coreutils-6.7.org/m4/openat.m4 coreutils-6.7/m4/openat.m4
2--- coreutils-6.7.org/m4/openat.m4 2006-11-21 00:32:38.000000000 +0100
3+++ coreutils-6.7/m4/openat.m4 2006-12-12 00:02:35.949793500 +0100
4@@ -10,6 +10,12 @@
5
6 AC_DEFUN([gl_FUNC_OPENAT],
7 [
8+ needcompat=no
9+ AC_CHECK_FUNC(mkdirat, [], [needcompat=yes])
10+ AC_CHECK_FUNC(fchmodat, [], [needcompat=yes])
11+ AC_CHECK_FUNC(fchownat, [], [needcompat=yes])
12+
13+ if test x$needcompat = xyes; then
14 # No system provides these functions; compile them unconditionally.
15 AC_LIBOBJ([mkdirat])
16 AC_LIBOBJ([fchmodat])
17@@ -28,6 +34,7 @@
18 [Define to rpl_ if the openat replacement function should be used.])
19 gl_PREREQ_OPENAT;;
20 esac
21+ fi
22 ])
23
24 AC_DEFUN([gl_PREREQ_OPENAT],
This page took 0.040646 seconds and 4 git commands to generate.