From 9e408d4bb50cb7c4e9d0a007b95f9fb9d32a16d0 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Mon, 3 Jun 2024 18:30:09 -0400
Subject: Make ELOOP an error again, except for -xtype.

POSIX requires an error if (for example) -L encounters a symlink loop.
The GNU find change was restricted to -xtype, so add a manual ELOOP test
to eval_xtype() for compatibility.

This reverts commit 470589cbd9ca3e73d8c01ac3a96cbc065179dcc5.

Link: https://savannah.gnu.org/bugs/?19605
---
 docs/CHANGELOG.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'docs')

diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 1d4bdcf..db978b8 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -1,6 +1,18 @@
 3.*
 ===
 
+3.3.1
+-----
+
+**June 3, 2024**
+
+### Bug fixes
+
+- Reduced the scope of the symbolic link loop change in version 3.3.
+  `-xtype l` remains true for symbolic link loops, matching a change in GNU findutils 4.10.0.
+  However, `-L` will report an error, just like `bfs` prior to 3.3 and other `find` implementations, as required by POSIX.
+
+
 3.3
 ---
 
-- 
cgit v1.2.3