From e8b8e6566e39ca39fd3a28ae2b9d13ea21f0e358 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 26 Jul 2017 11:33:49 -0700 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ lib/fprintftime.c | 2 +- modules/fprintftime | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d53d143a13..a92f67b697 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-07-26 Jim Meyering + + 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 regex: work with GCC7's -Werror=implicit-fallthrough= diff --git a/lib/fprintftime.c b/lib/fprintftime.c index e6eb4f20f5..7fd4ec2294 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 4067bc3acd..0d1f678449 100644 --- a/modules/fprintftime +++ b/modules/fprintftime @@ -7,7 +7,7 @@ lib/fprintftime.c Depends-on: stdio -strftime +nstrftime time_rz configure.ac: -- 2.39.5