GNU bug report logs - #17075
diff - - exits immediately

Previous Next

Package: diffutils;

Reported by: karl <at> freefriends.org (Karl Berry)

Date: Sun, 23 Mar 2014 21:22:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Karl Berry <karl <at> freefriends.org>
Cc: 17075 <at> debbugs.gnu.org
Subject: bug#17075: [bug-diffutils] bug#17075: diff - - exits immediately
Date: Tue, 25 Mar 2014 16:42:19 -0700
I dunno, even that sounds dubious, as it's incomplete.  For example, 
when A and B are different files, 'diff -q A B' reads neither A nor B if 
it determines via the 'stat' syscall that the files are different sizes.

More generally, I'm not sure it's necessary or wise to describe exactly 
the optimizations 'diff' uses to avoid reading files.  Quite possibly, 
though, I'm not understanding the problem that caused you to file the 
bug report in the first place.




This bug report was last modified 11 years and 107 days ago.

Previous Next


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