From c47e75a9f63b854386e232dac1787fe3363c4e97 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 30 Dec 2009 16:14:05 -0700 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ lib/unistd.in.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8a18917b4f..1417d0d8f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-30 Eric Blake + + unistd: fix typo + * lib/unistd.in.h (linkat) [GNULIB_POSIXCHECK]: Fix typo. + 2009-12-30 Bruno Haible Fix compilation error with Solaris cc. diff --git a/lib/unistd.in.h b/lib/unistd.in.h index af2d563321..1e4060cf07 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -646,7 +646,7 @@ extern int linkat (int fd1, const char *path1, int fd2, const char *path2, # 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)) -- 2.30.2