changeset 12529:88f199a59d30

unistd: fix typo This typo ended up incompatibly re-defining the macro link() during -DGNULIB_POSIXCHECK=1. However, gcc's pragma system_header squelches that particular warning, so this typo went unnoticed. * lib/unistd.in.h (linkat) [GNULIB_POSIXCHECK]: Fix typo. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Wed, 30 Dec 2009 16:14:05 -0700
parents a734da16f5c4
children 1f7cf333ed1d
files ChangeLog lib/unistd.in.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-30  Eric Blake  <ebb9@byu.net>
+
+	unistd: fix typo
+	* lib/unistd.in.h (linkat) [GNULIB_POSIXCHECK]: Fix typo.
+
 2009-12-30  Bruno Haible  <bruno@clisp.org>
 
 	Fix compilation error with Solaris cc.
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -646,7 +646,7 @@
 # endif
 #elif defined GNULIB_POSIXCHECK
 # undef linkat
-# define link(f1,path1,f2,path2,f)              \
+# define linkat(f1,path1,f2,path2,f)              \
     (GL_LINK_WARNING ("linkat is unportable - " \
                       "use gnulib module linkat for portability"), \
      linkat (f1, path1, f2, path2,f))