|
From: | GNU bug Tracking System |
Subject: | bug#71486: closed (no-dereference test fails on FreeBSD, NetBSD) |
Date: | Wed, 12 Jun 2024 00:52:03 +0000 |
Your message dated Tue, 11 Jun 2024 17:51:41 -0700 with message-id <7d83afed-6d57-4a08-b853-5248a2d5573d@cs.ucla.edu> and subject line Re: [bug-diffutils] bug#71486: no-dereference test fails on FreeBSD, NetBSD has caused the debbugs.gnu.org bug report #71486, regarding no-dereference test fails on FreeBSD, NetBSD to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 71486: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71486 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: no-dereference test fails on FreeBSD, NetBSD Date: Tue, 11 Jun 2024 22:20:42 +0200 On FreeBSD 14.0 and NetBSD 10.0, the unit test 'no-dereference' fails. How to reproduce: Use current diffutils git master. $ ln -s loop loop $ mkdir subdir $ ln -s loop subdir/loop # This part succeeds on all platforms: $ src/diff --no-dereference loop subdir/loop $ echo $? 0 # This commands succeeds on all platforms except FreeBSD and NetBSD # but fails on FreeBSD and NetBSD. $ src/diff --no-dereference loop subdir diff: subdir/loop: Too many links The manual [1] says: "If one file is a directory and the other is not, diff compares the file in the directory whose name is that of the non-directory." But single-stepping through the code, I don't get through code that references 'subdir/loop'. It merely references 'subdir'. The stack trace is: diff.c:880 -> diff.c:1608 -> error Bruno [1] https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff.html
--- End Message ---
--- Begin Message ---Subject: Re: [bug-diffutils] bug#71486: no-dereference test fails on FreeBSD, NetBSD Date: Tue, 11 Jun 2024 17:51:41 -0700 Thanks for reporting that. I installed the attached patch which I hopes fixes it, and am boldly closing the bug report. User-agent: Mozilla Thunderbird
0001-diff-port-to-FreeBSD-NetBSD.patch
Description: Text Data
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |