[bug-diffutils] bug#48062: make check fails if configured with --program-prefix

2024-06-23 Thread Collin Funk
iff-program=diff which should make the tests pass regardless of the options passed to ./configure. Collin >From 2a5c88a591ed6ecc904a8631207a82b4887ed386 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 23 Jun 2024 03:00:21 -0700 Subject: [PATCH] tests: Don't fail when --program

[bug-diffutils] bug#48062: bug#48062: bug#48062: make check fails if configured with --program-prefix

2024-06-24 Thread Collin Funk
Paul Eggert writes: > I'm not seeing that on my Fedora 40 build of diffutils. There is no > file diffutils/gnulib-tests/test-pthread-cond.c in my source tree, > after running './bootstrap --gnulib-refdir=$HOME/src/gnu/gnulib' in a > fresh diffutils clone. Also, in a current Gnulib the command > '

[bug-diffutils] bug#72237: bug#72237: diffutils "make dist" not compliant with the GNU Coding Standards

2024-07-21 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > The attached patch fixes it. Tested also with VPATH builds, with > - GNU make, > - FreeBSD make, > - NetBSD make. To save you time in the future testing either FreeBSD or NetBSD make should be enough. A portable version of NetBSD make is maintained and tha

[bug-diffutils] bug#73783: [PATCH] maint: use Gnulib's stat-time over our own version

2024-10-12 Thread Collin Funk
Hi, Simple patch attached. Gnulib's ST_BLKSIZE has a bit more complete checks to estimate block size than what Diffutils uses. Collin >From 9a69d9e871f6ec5ade2f193ec6edae883ba3afe9 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 12 Oct 2024 20:53:15 -0700 Subject: [PATCH] ma

[bug-diffutils] bug#76613: bug#76613: bug#76613: diff -y crashes with apparent memory corruption

2025-02-27 Thread Collin Funk
;From 03e529dd69d50c247a217b9b659659538dfa397a Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Thu, 27 Feb 2025 20:15:55 -0800 Subject: [PATCH] diff: fix allocation size computation that could cause bad writes Reported by Nick Smallbone in: <https://lists.gnu.org/r/bug-diffutils/2025-02/msg

[bug-diffutils] bug#76452: bug#76452: 3.11 critical bug: diff -Naur a b does not show a unified diff when one of the file is empty

2025-02-20 Thread Collin Funk
e)) return st->st_size == 0 ? N_("regular empty file") : N_("regular file"); So empty files will be treated as different file types because of that change. I have attached a patch to check for this condition. Collin >From 7d4c55202ec4c0366062ff03d27a4883861ff222

[bug-diffutils] bug#76452: bug#76452: bug#76452: 3.11 critical bug: diff -Naur a b does not show a unified diff when one of the file is empty

2025-02-20 Thread Collin Funk
Collin Funk writes: > I have attached a patch to check for this condition. Since it seems easy to overlook this in the future I have attached a patch with the test case as well. Collin >From 94fcd58f38beec6e591a86b67a57729951eaf108 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Thu,