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

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: Kate Deplaix <kit-ty-kate@HIDDEN>; merged with #76452, #76453; Done: Paul Eggert <eggert@HIDDEN>; Maintainer for diffutils is bug-diffutils@HIDDEN.
Merged 76452 76453 76454. Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug closed, send any further explanations to 76454 <at> debbugs.gnu.org and Kate Deplaix <kit-ty-kate@HIDDEN> Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 04:47:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 20 23:47:43 2025
Received: from localhost ([127.0.0.1]:49195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlKwv-0001jK-Tb
	for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 23:47:43 -0500
Received: from lists.gnu.org ([2001:470:142::17]:59394)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kit-ty-kate@HIDDEN>)
 id 1tl9aX-0005XL-94
 for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 11:39:49 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kit-ty-kate@HIDDEN>)
 id 1tl9aO-0001jF-F7
 for bug-diffutils@HIDDEN; Thu, 20 Feb 2025 11:39:41 -0500
Received: from mail-uksouthazolkn190100000.outbound.protection.outlook.com
 ([2a01:111:f403:d204::] helo=LO3P265CU004.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kit-ty-kate@HIDDEN>)
 id 1tl9aM-0003vK-Je
 for bug-diffutils@HIDDEN; Thu, 20 Feb 2025 11:39:39 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=geBZjfM/5yOQYstWOAN7nm6QC0W2a78ArYhLQezC2Xrid80qqKeahXvnTA/VNImCp+2iNMtvrGegFAcD7MXTUamOABKIwzs2/qXNBRIUTPB3I2zGaH193K6JlvaIuSl9k1ClY3p6XhUgwXDHDxk1p2VkHjyPjRGMx8xVV2SnB1NJTR/tGtYA7XZucSYMsdNQVOVn8qvdu1Dkc6wM/Mecl0PW4nTXhU20ldQXIPCuT8bosaRTX53UwjcQje7Vet4LtRpyyk82+Ztm4s9QA4GuKjP7KRMCeKqfsI4y83NQ7Fk7EMbHwqPd+PuSAOVi6FkldiO98mlJTUgXEzCOlmgtMQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=D2d9n9rBzqNHdHbMqy+iKY2Walr4ovkn14AGV+zx+NI=;
 b=lE4HmK5az0/b8+MwAqop+FvjP8IPxq1Cjf83NQY7GbVX4CJLVqAzaNTgIqqf6Ke5Ir9niQZwrR619IxZQUa13b7KE6xeIoUpVooNeFJTQ0tJSY0apI3zQKozO6XkPP+9HoKYLaN5nEZd+zwujoDkJj4GDa/ZLmYWFaeZGrI/RYwUY6iGsaZQAVH+4Xyc0+3/H0K+oJ7QgLvee4owg58Yk/ws30mABUtlWNkTpWVMYLhK/iloauU2QDApIYfSBaDEZ1yTWceVjjU82iY0hcj+m0qiecdiiIff/jYn69zUSW8aVWy+pC5jmlfqOdlQFjPFx9wgOje3TA19cKBARpzVUQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=D2d9n9rBzqNHdHbMqy+iKY2Walr4ovkn14AGV+zx+NI=;
 b=hXCcjPTwrY/z4dSAvrStUixy5sysWgJCCHhuBNKTZCF/wna4/1F+ZdEJcajjURC+cxfQKVb74/dzKgk1TNd68/OzEKBa19D+Xkrn76U9S+DzjvO+gET5TgagzOM/Agx1UquIn1dQKyhn+bC6BX5ZeggMKvaIUQq7UQ/By/CnsljkmDG+ugFHqzHGrdMdE6opPD0MUz65aYRM2YuipD7+JC/3RK1YqKo/LKKfI6BDZx4/qDi4s4Idlv5yZBnt4JtrfP7I1HGIRWBGcYBVPtlXG6GD9DIVXfoWdVVnWP9sBO8pJ5Tlv7hXFOL8ylAgh5NCu5ciAf63KZ5dKekO+CbzZg==
Received: from CWLP265MB4157.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:12c::9)
 by LO2P265MB3642.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:1b7::13) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8466.16; Thu, 20 Feb
 2025 16:39:35 +0000
Received: from CWLP265MB4157.GBRP265.PROD.OUTLOOK.COM
 ([fe80::4f37:8f32:e4a6:e624]) by CWLP265MB4157.GBRP265.PROD.OUTLOOK.COM
 ([fe80::4f37:8f32:e4a6:e624%6]) with mapi id 15.20.8466.016; Thu, 20 Feb 2025
 16:39:35 +0000
From: Kate Deplaix <kit-ty-kate@HIDDEN>
To: "bug-diffutils@HIDDEN" <bug-diffutils@HIDDEN>
Subject: 3.11 critical bug: diff -Naur a b does not show a unified diff when
 one of the file is empty
Thread-Topic: 3.11 critical bug: diff -Naur a b does not show a unified diff
 when one of the file is empty
Thread-Index: AQHbg7Whc5FnwLXLjUqiiDxrmje+qA==
Date: Thu, 20 Feb 2025 16:39:35 +0000
Message-ID: <CWLP265MB41574433E900376660252618BCC42@HIDDEN>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CWLP265MB4157:EE_|LO2P265MB3642:EE_
x-ms-office365-filtering-correlation-id: 21b7c730-c46b-4321-b9eb-08dd51cd28c8
x-microsoft-antispam: BCL:0;
 ARA:14566002|15080799006|461199028|8060799006|15030799003|8062599003|19110799003|102099032|440099028|3412199025;
x-microsoft-antispam-message-info: =?utf-8?B?ekxsN0ZVL2V1M29NOUorZnpsUDcyVytxVHNEc2VHQzRITmo0bUFIN0IxRlEx?=
 =?utf-8?B?SlhjelU0M0tuaXlQWS9KaG1HSGpUM3pEdDRHamRSRUtDSEdqNE9ET3BOVzkv?=
 =?utf-8?B?QkhPcVg4Wnh4ckgrTkcrMmRYOWxXQWFkSkdpZzhVTVcwR3ZreUloZDNGUmlj?=
 =?utf-8?B?VXJDU1VlUHY1VUU1VzQ1aXdJWXRzMnZSZ21BOTB5Rk9ERytsbFlTZXBQR1pS?=
 =?utf-8?B?SzV4bzdCVmx0NWYzci91dXBGTnppU2dJRTN5UklhWWwwNmcyVWVkd1BLL21v?=
 =?utf-8?B?V21NUkJ5dCtlUDdoc1d6YXZMb2taV0JDeEVSQ0lEWWFINVE3Q3BUSTNNNjEy?=
 =?utf-8?B?QkVvYU53SGpFeTJYdGpoNGprMUFqTlFkZkVqR1psa3ZtNlpwRVZlZWZ0YUxO?=
 =?utf-8?B?YXJOdUpsN25JNUpGVzQ2eTkyd2psUWQ1ZnN0emMvN0hUcFo0OGFTaXV2cVpU?=
 =?utf-8?B?OXQvUGthTm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CtlN1NX?=
 =?utf-8?B?V3J3R001OVZIeExERWNVY0RCUkdsZ1htWFA0VDhKTkpPRTBOdzBPRFMrMDE3?=
 =?utf-8?B?YUpPc3haTUxyMFZ5MTVKSWFrWXlObzdnMFVLR1RGMnNXMjNuclhZREZ3UlQx?=
 =?utf-8?B?RjRtK2dUTHFkNDBPTFVtTDlnNnZnVzVmMThWbkp4UTZtb1d1bGtrYitZSVdV?=
 =?utf-8?Q?msm1mPjUMwl8aFwEr8=3D?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CWLP265MB4157.GBRP265.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 21b7c730-c46b-4321-b9eb-08dd51cd28c8
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2025 16:39:35.0377 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO2P265MB3642
Received-SPF: pass client-ip=2a01:111:f403:d204::;
 envelope-from=kit-ty-kate@HIDDEN;
 helo=LO3P265CU004.outbound.protection.outlook.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 20 Feb 2025 23:47:36 -0500
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 (/)

SGksCgpXaGlsZSB1c2luZyBkaWZmdXRpbHMgMy4xMSBpbnN0ZWFkIG9mIDMuMTAsIGkndmUgbm90
aWNlZCBhIGNyaXRpY2FsIGJ1ZyBpbiBkaWZmIHJlcHJvZHVjaWJsZSB3aXRoIHRoZSBmb2xsb3dp
bmcgc2V0dXA6CgokIGNkIC90bXAKJCBta2RpciBhIGIKJCB0b3VjaCBhL3Rlc3QKJCBlY2hvIGNv
bnRlbnQgPiBiL3Rlc3QKCldpdGggZGlmZnV0aWxzIDMuMTAsICJkaWZmIC1OYXVyIGEgYiIgcmV0
dXJuczoKCmRpZmYgLU5hdXIgYS90ZXN0IGIvdGVzdAotLS0gYS90ZXN04oCC4oCC4oCCMjAyNS0w
Mi0yMCAxNDo1MDowNy44NzAyNTgwNTIgKzAwMDAKKysrIGIvdGVzdOKAguKAguKAgjIwMjUtMDIt
MjAgMTQ6NTA6MTguOTU3Mjg3NjQxICswMDAwCkBAIC0wLDAgKzEgQEAKK2NvbnRlbnQKCmJ1dCB3
aXRoIGRpZmZ1dGlscyAzLjExLCB0aGUgc2FtZSBjb21tYW5kIHJldHVybnM6CgpGaWxlIGEvdGVz
dCBpcyBhIHJlZ3VsYXIgZW1wdHkgZmlsZSB3aGlsZSBmaWxlIGIvdGVzdCBpcyBhIHJlZ3VsYXIg
ZmlsZQoKR2l2ZW4gbm8gbWVudGlvbiBvZiB0aGlzIGNoYW5nZSBhcHBlYXIgaW4gdGhlIGNoYW5n
ZWxvZywgaSdtIGd1ZXNzaW5nIHRoaXMgaXMgYW4gdW5pbnRlbmRlZCBjaGFuZ2UuIEluIG15IG9w
aW5pb24gdGhpcyBidWcgaXMgY3JpdGljYWwgYW5kIHRoZSAzLjExIHJlbGVhc2Ugc2hvdWxkIGJl
IG1hcmtlZCBhcyBicm9rZW4gdG8gYXZvaWQgbW9yZSBkaXN0cmlidXRpb25zIHVzaW5nIGl0LgoK
V2FybSByZWdhcmRzLApLYXRlIERlcGxhaXgK




Acknowledgement sent to Kate Deplaix <kit-ty-kate@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#76454; 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, 24 Mar 2025 23:30:04 UTC

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