GNU bug report logs - #76452
3.11 critical bug: diff -Naur a b does not show a unified diff when one of the file is empty

Previous Next

Package: diffutils;

Reported by: Kate Deplaix <kit-ty-kate <at> outlook.com>

Date: Fri, 21 Feb 2025 04:48:04 UTC

Severity: normal

Merged with 76453, 76454

Found in version 3.11

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 76452-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Collin Funk <collin.funk1 <at> gmail.com>
Cc: 76452-done <at> debbugs.gnu.org, Kate Deplaix <kit-ty-kate <at> outlook.com>
Subject: Re: [bug-diffutils] bug#76452: 3.11 critical bug: diff -Naur a b does
 not show a unified diff when one of the file is empty
Date: Fri, 21 Feb 2025 23:11:22 -0700
[Message part 1 (text/plain, inline)]
Thanks for the diagnosis and the patch. I installed the attached 
instead, so as to decouple this part of the code from the part that 
turns file types into strings.
[0001-diff-don-t-treat-empty-files-as-a-different-file-typ.patch (text/x-patch, attachment)]
[0001-maint-mention-bug-76452-in-NEWS.patch (text/x-patch, attachment)]

This bug report was last modified 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.