bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fchmodat.c, fchownat.c: compile-impeding typos


From: Jim Meyering
Subject: [PATCH] fchmodat.c, fchownat.c: compile-impeding typos
Date: Mon, 15 Oct 2012 18:41:30 +0200

Spotted these while investigating freebsd-vs-coreutils-w/latest-gnulib
link failures:


>From 5ee63ec3af75a07c25f68bfda5fdb55947d06d11 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 15 Oct 2012 18:34:56 +0200
Subject: [PATCH] fchmodat.c, fchownat.c: compile-impeding typos

* lib/fchmodat.c (FCHMODAT_INLINE): Fix typo: s/#include/#define/
* lib/fchownat.c (FCHOWNAT_INLINE): Likewise.
Introduced in commit v0.0-7636-gd202279.
---
 ChangeLog      | 7 +++++++
 lib/fchmodat.c | 2 +-
 lib/fchownat.c | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 45637f3..d618d47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-10-15  Jim Meyering  <address@hidden>
+
+       fchmodat.c, fchownat.c: compile-impeding typos
+       * lib/fchmodat.c (FCHMODAT_INLINE): Fix typo: s/#include/#define/
+       * lib/fchownat.c (FCHOWNAT_INLINE): Likewise.
+       Introduced in commit v0.0-7636-gd202279.
+
 2012-10-14  Paul Eggert  <address@hidden>

        faccessat, etc.: support AT_FDCWD-only use
diff --git a/lib/fchmodat.c b/lib/fchmodat.c
index b1940d5..8612cd4 100644
--- a/lib/fchmodat.c
+++ b/lib/fchmodat.c
@@ -18,7 +18,7 @@

 #include <config.h>

-#include FCHMODAT_INLINE _GL_EXTERN_INLINE
+#define FCHMODAT_INLINE _GL_EXTERN_INLINE

 #include <sys/stat.h>

diff --git a/lib/fchownat.c b/lib/fchownat.c
index c6e2d56..72bad1b 100644
--- a/lib/fchownat.c
+++ b/lib/fchownat.c
@@ -23,7 +23,7 @@

 #include <config.h>

-#include FCHOWNAT_INLINE _GL_EXTERN_INLINE
+#define FCHOWNAT_INLINE _GL_EXTERN_INLINE

 #include <unistd.h>

--
1.8.0.rc2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]