The links to issues with copy_file_range lead to nowhere on gnu.org
[1]. Clicking on one and looking at the url will show you that the
arguments to @url are in the wrong order.

I pushed the attached patch to fix that.

Collin

[1] 
https://www.gnu.org/software/gnulib/manual/html_node/copy_005ffile_005frange.html

>From 7d75436a1bc196a4f3dc968169471f787e2d794c Mon Sep 17 00:00:00 2001
Message-ID: <7d75436a1bc196a4f3dc968169471f787e2d794c.1769571464.git.collin.fu...@gmail.com>
From: Collin Funk <[email protected]>
Date: Tue, 27 Jan 2026 19:32:01 -0800
Subject: [PATCH] doc: Fix some links to copy_file_range issues.

* doc/glibc-functions/copy_file_range.texi: Correct the order of
arguments to @url.
---
 ChangeLog                                | 6 ++++++
 doc/glibc-functions/copy_file_range.texi | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 51d9248387..cfcf91e203 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-01-27  Collin Funk  <[email protected]>
+
+	doc: Fix some links to copy_file_range issues.
+	* doc/glibc-functions/copy_file_range.texi: Correct the order of
+	arguments to @url.
+
 2026-01-27  Bruno Haible  <[email protected]>
 
 	isfinite-no-c++: Make more C++ safe.
diff --git a/doc/glibc-functions/copy_file_range.texi b/doc/glibc-functions/copy_file_range.texi
index 36805321a7..caaa8a595d 100644
--- a/doc/glibc-functions/copy_file_range.texi
+++ b/doc/glibc-functions/copy_file_range.texi
@@ -28,15 +28,15 @@ @node copy_file_range
 
 @item
 This function has many problems on Linux kernel versions before 5.3.
-See @url{``Fixes for major copy_file_range() issues'',
-https://lwn.net/Articles/789527/}.
+See @url{https://lwn.net/Articles/789527/, ``Fixes for major
+copy_file_range() issues''}.
 On these kernel versions, the replacement function always fails with
 error @code{ENOSYS}.
 
 @item
 This function returns an incorrect value when the number of bytes copied
 exceeds @code{INT_MAX} on systems using glibc version 2.41 or 2.42.
-See @url{glibc bug 33245, https://sourceware.org/PR33245}.
+See @url{https://sourceware.org/PR33245, glibc bug 33245}.
 
 @item
 This function is provided on GNU/Hurd but it is only a stub: It always
-- 
2.52.0

Reply via email to