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

To reply to this bug, email your comments to 27241 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#27241; Package diffutils. (Sun, 04 Jun 2017 21:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hong Jehn <hongjehn <at> icloud.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Sun, 04 Jun 2017 21:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hong Jehn <hongjehn <at> icloud.com>
To: bug-diffutils <at> gnu.org
Subject: diff command modified my file
Date: Mon, 05 Jun 2017 04:05:37 +0800
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.



Information forwarded to bug-diffutils <at> gnu.org:
bug#27241; Package diffutils. (Sun, 04 Jun 2017 21:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 27241 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Hong Jehn <hongjehn <at> icloud.com>, 27241 <at> debbugs.gnu.org
Subject: Re: [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 11 days ago.

Previous Next


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