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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: diffutils; Reported by: Hong Jehn <hongjehn@HIDDEN>; dated Sun, 4 Jun 2017 21:34:01 UTC; Maintainer for diffutils is bug-diffutils@HIDDEN.

Message received at 27241 <at> debbugs.gnu.org:


Received: (at 27241) by debbugs.gnu.org; 4 Jun 2017 21:42:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 04 17:42:29 2017
Received: from localhost ([127.0.0.1]:56209 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dHdI5-0003T3-0X
	for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 17:42:29 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55570)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1dHdI4-0003Sr-8x
 for 27241 <at> debbugs.gnu.org; Sun, 04 Jun 2017 17:42:28 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id A84561600E3;
 Sun,  4 Jun 2017 14:42:22 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 3jABVgZzZNqo; Sun,  4 Jun 2017 14:42:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 003F01600E7;
 Sun,  4 Jun 2017 14:42:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id 2SggZ4vSBH3G; Sun,  4 Jun 2017 14:42:21 -0700 (PDT)
Received: from [192.168.1.9] (unknown [47.153.188.248])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D84AC1600E3;
 Sun,  4 Jun 2017 14:42:21 -0700 (PDT)
Subject: Re: [bug-diffutils] bug#27241: diff command modified my file
To: Hong Jehn <hongjehn@HIDDEN>, 27241 <at> debbugs.gnu.org
References: <C22AD2BD-A85E-468A-BDC2-3A30A45761F6@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <9cd34024-fa1c-f635-8ed6-0a38975ec2e6@HIDDEN>
Date: Sun, 4 Jun 2017 14:42:21 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <C22AD2BD-A85E-468A-BDC2-3A30A45761F6@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 27241
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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.




Information forwarded to bug-diffutils@HIDDEN:
bug#27241; Package diffutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jun 2017 21:33:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 04 17:33:32 2017
Received: from localhost ([127.0.0.1]:56203 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dHd9Q-0003Gp-2O
	for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 17:33:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hongjehn@HIDDEN>) id 1dHbmz-0007uh-Uu
 for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 16:06:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hongjehn@HIDDEN>) id 1dHbmt-0006xh-Ed
 for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 16:06:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51401)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <hongjehn@HIDDEN>) id 1dHbmt-0006xQ-BP
 for submit <at> debbugs.gnu.org; Sun, 04 Jun 2017 16:06:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50546)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <hongjehn@HIDDEN>) id 1dHbms-0008Vx-BU
 for bug-diffutils@HIDDEN; Sun, 04 Jun 2017 16:06:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hongjehn@HIDDEN>) id 1dHbmp-0006uN-7I
 for bug-diffutils@HIDDEN; Sun, 04 Jun 2017 16:06:10 -0400
Received: from st42p63im-zteg05191101.me.com ([17.36.66.148]:48865)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <hongjehn@HIDDEN>) id 1dHbmp-0006tF-1I
 for bug-diffutils@HIDDEN; Sun, 04 Jun 2017 16:06:07 -0400
Received: from process-dkim-sign-daemon.st42p63im-zteg05191101.me.com by
 st42p63im-zteg05191101.me.com
 (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016))
 id <0OR100N00G8PN300@HIDDEN> for bug-diffutils@HIDDEN; 
 Sun, 04 Jun 2017 20:06:05 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; 
 t=1496606765; bh=Ho9reekeAvdCDZa2yFcuGILERtgz0oE3Ns2oERdEuh4=; 
 h=Subject:From:Content-type:Message-id:Date:To:MIME-version;
 b=gBdoRYZ5P91O0E44QFp94AbxU5HMdNw921ghBh2iyNQCenw9C+wpC4yMzLv7ZOnJ+
 C98TlKhepvd4a1dQ0ahqZxT4IK5zBc+BhT24k+WbeWNh1LGnUyc5ErXJp5/8adg9ze
 mocx74UyB2eNVEuaRgoyQzJOX+8Rs0omTOMPocscRiPwCxP93SxTuNDGe3XYRqBHOT
 NFtYFkveuxTitlNLZpSdpZPCi3FSgpcXkuBYHslNF0ozHqU7pfOaf6QyrWv/SJhhCh
 3VWKLJfBcCupf1mWJ4v4CB6ojHSKeK7LOnx1fb1L1DjVgXm6gV1utSETBi52bQ0tgP
 vcJzRHxEgVRGg==
Received: from icloud.com ([127.0.0.1]) by st42p63im-zteg05191101.me.com
 (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016))
 with ESMTPSA id <0OR100I7AH5PEM40@HIDDEN> for
 bug-diffutils@HIDDEN; Sun, 04 Jun 2017 20:06:04 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,,
 definitions=2017-06-04_15:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 clxscore=1034 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0
 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1701120000 definitions=main-1706040387
Subject: diff command modified my file
From: Hong Jehn <hongjehn@HIDDEN>
Content-type: text/plain; charset=us-ascii
X-Mailer: iPhone Mail (13G36)
Message-id: <C22AD2BD-A85E-468A-BDC2-3A30A45761F6@HIDDEN>
Date: Mon, 05 Jun 2017 04:05:37 +0800
To: bug-diffutils@HIDDEN
Content-transfer-encoding: quoted-printable
MIME-version: 1.0 (1.0)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 04 Jun 2017 17:33:30 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

When I use command "diff -qr abc/ usb/abc/" to compare 2 directory,  it chan=
ges the "centos_7_x86_64_Minimal.iso" sometime but the file size didn't chan=
ge even when I just ran the same command and it says they are the same. Othe=
r file are fine, it changes only this iso file.

Also, I wrote a similler program like diff before it came out the same probl=
em. 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 pro=
blem seems serious.=




Acknowledgement sent to Hong Jehn <hongjehn@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#27241; Package diffutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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