archrelease: copy trunk to extra-x86_64
[arch-packages.git] / diffutils / trunk / 02-fix-bug-where-D-does-not-work.patch
blob875c6eb8f4d683abc7cff5558e5bc8722aea28fc
1 From ba08fbbb0ca5da455bf695236c57bc50e7faed50 Mon Sep 17 00:00:00 2001
2 From: Paul Eggert <eggert@cs.ucla.edu>
3 Date: Fri, 10 Feb 2023 15:33:40 -0800
4 Subject: diff: fix bug where -D does not work
6 diff --git a/src/diff.c b/src/diff.c
7 index dd6f63b..2b4834f 100644
8 --- a/src/diff.c
9 +++ b/src/diff.c
10 @@ -416,7 +416,7 @@ main (int argc, char **argv)
11 char *base = b;
12 int changes = 0;
14 - for (i = 0; i < sizeof sizeof C_ifdef_group_formats; i++)
15 + for (i = 0; i < sizeof C_ifdef_group_formats; i++)
17 char ch = C_ifdef_group_formats[i];
18 switch (ch)