Mercurial > gnulib
changeset 32220:734a27c3a031
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 | de1f4a6d2fe3 |
children | 3ee5fc84c977 |
files | ChangeLog lib/unistd.in.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Dec 31 04:03:24 2009 +0100 +++ b/ChangeLog Wed Dec 30 16:14:05 2009 -0700 @@ -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 Thu Dec 31 04:03:24 2009 +0100 +++ b/lib/unistd.in.h Wed Dec 30 16:14:05 2009 -0700 @@ -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))