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
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
> '
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
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
;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
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
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,