[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-diffutils] bug#63405: bug#63405: Bug in diffutils 3.9 with -D optio
From: |
Robert Webb |
Subject: |
[bug-diffutils] bug#63405: bug#63405: Bug in diffutils 3.9 with -D option |
Date: |
Tue, 9 May 2023 23:37:48 -0700 |
On Tue, May 9, 2023 at 6:19 PM Ralph Campbell <ralphcampbell1@gmail.com> wrote:
>
> I'm using Fedora 38 and diffutils 3.9 installed. I also compiled from source
> and see the same issue.
>
> file1:
> Here is some old line.
>
> file2:
> Here is some new line.
>
> % diff-3.8 -D NEW file1 file2
> #ifndef NEW
> Here is some old line.
> #else /* NEW */
> Here is some new line.
> #endif /* NEW */
>
> % diff-3.9 -D NEW file1 file2:
> Here is some old line.
> Here is some new line.
Ralph, this is the same bug as:
bug#61193: '-D' option of diff 3.9 - #ifdef directives missing
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61193
There is a patch available.
--
Robert Webb