GNU bug report logs - #27241
diff command modified my file

Previous Next

Package: diffutils;

Reported by: Hong Jehn <hongjehn <at> icloud.com>

Date: Sun, 4 Jun 2017 21:34:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Hong Jehn <hongjehn <at> icloud.com>, 27241 <at> debbugs.gnu.org
Subject: bug#27241: [bug-diffutils] bug#27241: diff command modified my file
Date: Sun, 4 Jun 2017 14:42:21 -0700
Hong Jehn wrote:
> When I use command "diff -qr abc/ usb/abc/" to compare 2 directory,  it changes the "centos_7_x86_64_Minimal.iso" sometime but the file size didn't change even when I just ran the same command and it says they are the same. Other file are fine, it changes only this iso file.
> 
> Also, I wrote a similler program like diff before it came out the same problem. I guess it's a glibc bug? I kept the broken file in case you need it.
> 
> This problem comes out like once a week, I kept the sha256-code but this problem seems serious.
> 
> 

Since the problem affects multiple programs, it must be something else in your 
system, either in the C library or (more likely) in the underlying file system 
code or something like that.




This bug report was last modified 8 years and 12 days ago.

Previous Next


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