[lfs] branch trunk updated: coreutils: fix a bug causing cp to hang forever
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <176940723543.23811.3576233359902443601@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new b02d8e562 coreutils: fix a bug causing cp to hang forever
b02d8e562 is described below
commit b02d8e562f27f58404f305c9882196c0a90e4a3d
Author: Xi Ruoyao <[email protected]>
AuthorDate: Mon Jan 26 13:56:28 2026 +0800
coreutils: fix a bug causing cp to hang forever
During my build the e2fsprogs test suite hangs because of this bug.
Link: https://github.com/coreutils/coreutils/issues/159
---
chapter08/coreutils.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml
index 36d428981..b2209f975 100644
--- a/chapter08/coreutils.xml
+++ b/chapter08/coreutils.xml
@@ -53,6 +53,13 @@
those bugs are reproducible without this patch.</para>
</note>
+ <!-- https://github.com/coreutils/coreutils/commit/bd528f923482 -->
+ <para>Fix a bug causing the <command>cp</command> command to hang
+ forever when copying sparse files on
+ <systemitem class='filesystem'>ext4</systemitem> file systems:</para>
+
+<screen><userinput remap="pre">sed '/off_t ext_end =/s/ipos/src_pos/' -i src/copy-file-data.c</userinput></screen>
+
<para>Now prepare Coreutils for compilation:</para>
<screen><userinput remap="configure">autoreconf -fv
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page