On 8/4/25 04:50, Paul Eggert wrote:
I've been remiss in forgetting to push, and just now made up for it by
pushing 27 patches (attached). Most of them have to do with obscure
issues in 'tail'. No doubt there are further issues. Hope I haven't
introduced any new ones.
Wow, that's a lot. Tests continue to pass here.
Minor cleanup attached:
* [PATCH] maint: remove now-unused include of 'safe-read.h'
Have a nice day,
Berny
From faeaa1f1b56bba9aae4874515df761701c8ddbcf Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <m...@bernhard-voelker.de>
Date: Mon, 4 Aug 2025 08:36:53 +0200
Subject: [PATCH] maint: remove now-unused include of 'safe-read.h'
'make syntax-check' complains:
src/tail.c
maint.mk: the above files include safe-read.h but don't use it
make: *** [maint.mk:737: sc_prohibit_safe_read_without_use] Error 1
The removal was missed for tail.c in recent commit d3c7072a0950.
* src/tail.c (safe-read.h): Remove include.
---
src/tail.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/tail.c b/src/tail.c
index 9046c00f8..ce3a3285b 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -41,7 +41,6 @@
#include "isapipe.h"
#include "posixver.h"
#include "quote.h"
-#include "safe-read.h"
#include "stat-size.h"
#include "stat-time.h"
#include "xbinary-io.h"
--
2.50.1