bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] fprintftime: fix build-break caused by recent renaming


From: Jim Meyering
Subject: [PATCH] fprintftime: fix build-break caused by recent renaming
Date: Wed, 26 Jul 2017 11:36:26 -0700

Fyi, I've just pushed the following.
With that, this now succeeds:

  ./gnulib-tool --create-testdir --test --dir /tmp/x --with-tests fprintftime

Before, it would fail due to inclusion of missing "strftime.c".
---------------

* lib/fprintftime.c: Include "nstrftime.c", not the now-renamed
"strftime.c".
* modules/fprintftime: Depend directly on nstrftime.
---
 ChangeLog           | 7 +++++++
 lib/fprintftime.c   | 2 +-
 modules/fprintftime | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d53d143a1..a92f67b69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-07-26  Jim Meyering  <address@hidden>
+
+       fprintftime: fix build-break caused by recent renaming
+       * lib/fprintftime.c: Include "nstrftime.c", not the now-renamed
+       "strftime.c".
+       * modules/fprintftime: Depend directly on nstrftime.
+
 2017-07-26  Paul Eggert  <address@hidden>

        regex: work with GCC7's -Werror=implicit-fallthrough=
diff --git a/lib/fprintftime.c b/lib/fprintftime.c
index e6eb4f20f..7fd4ec229 100644
--- a/lib/fprintftime.c
+++ b/lib/fprintftime.c
@@ -1,2 +1,2 @@
 #define FPRINTFTIME 1
-#include "strftime.c"
+#include "nstrftime.c"
diff --git a/modules/fprintftime b/modules/fprintftime
index 4067bc3ac..0d1f67844 100644
--- a/modules/fprintftime
+++ b/modules/fprintftime
@@ -7,7 +7,7 @@ lib/fprintftime.c

 Depends-on:
 stdio
-strftime
+nstrftime
 time_rz

 configure.ac:
--
2.13.3



reply via email to

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