From nobody Sat Aug 09 00:34:20 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bzMNF15M4z64TW6 for ; Sat, 09 Aug 2025 00:34:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bzMNF0Gzkz3FG5 for ; Sat, 09 Aug 2025 00:34:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754699661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kBigNOJsRQkd5ZYNhXj7v/X0VLWVa7z3xP6pLpYDzfg=; b=vcbkpeSKSW88UMsWPorxWbEZWUNiAapqbheKFwVZ3iIp3iPKp6KjotXVjDJ6zhQgcrmpY7 cHyfdBts2FC5EhvCQdGmkjyyp2YlDps4t+O9Kr4uPsG2wBvRuHLqG4+Z02JncUufx6wAn/ IzA2xj0DZCOswa7fY2rvJYBszEnqODo2snpxykZmtkZQfqRJlyDVPh9Zz1iGzmB5Z+kzbk WpGBuwXa2XHB/M/xwJ0gQEvDiiK3hiRPH5F5M3ApIcfMhceuxzhrjq9tFz7o9+xmTqYR4p POQVsYNbHH3DWnhjHtVfYIqLRKQQriF/BI89Imeeq9TLkKnCNOQF/w4FBs1yCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754699661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kBigNOJsRQkd5ZYNhXj7v/X0VLWVa7z3xP6pLpYDzfg=; b=d0wpvKtXJ4gXD4f4OYsIGWgsSbWxaYPJDCsRGJpM8mpS1rxeZTH5a1wPthJWQXaL7FJWUd eXegw7MB9FPSzj7gTsH1eF8o1IrhIY4oU9+dsCVuZT/ZLo2u4CnAcyMsnO2senrRec19H7 9SUD3TyOliXRJaO1bGpguQ9e+XKPRrkBte8XJMW3gqQ+OQ0fQEtn91YRSudvZzCo0WW/oW +iYFhZQXtqs9NK740mdooVhwqH5cPhoynUfoqtxwh0H+NgEG4OAhRbahLztT/uuzxyEO55 9n8VV8eM7zXMtyeEf+TUy4PLGm3xWf8ij90y3ySBLHUkKw83lFozpIi8KLKLBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754699661; a=rsa-sha256; cv=none; b=Zn7079WsKBR+89ebuAk4D4U9fD7+GUdD4RE2A0cATrlruCRDafaUKnKh6TzFiFrvYxUjoB M7LPNTCk0ybj35sygdpcv9eeQAQtKQ9R7Xs8ccaJc9MdP7i6oxGHHtVzr+6WqCSP5q8zfL 8ld1EqhZb+7cioIx+FhzOy9RIrG5U+oM0W8qkS+CLfUiiK6Paa0RggDsjVClZGKpC4FObQ fCW2EJ9Kr6jU6omRhzVc8Vtc8uh3jnVnSWfjWo3p+lemRxyMt2zIY1CZRzXrfNSiypL0FC D8tQ9FhVHC6D25sColNfPgPVp9SEX+jr5HxOuqFahBefLTSPQdPejS4PXB86fg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bzMND6k03zyPp for ; Sat, 09 Aug 2025 00:34:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5790YKcU077368 for ; Sat, 9 Aug 2025 00:34:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5790YKrd077367 for bugs@FreeBSD.org; Sat, 9 Aug 2025 00:34:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 181369] incompatibility between bsdpatch and gnupatch dealing of filename's delimiter Date: Sat, 09 Aug 2025 00:34:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181369 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|Open |Closed CC| |kevans@freebsd.org --- Comment #3 from Kyle Evans --- I'm tentatively closing this as Not A Bug, 12 years later, but feel free to refute. My general feeling here is that allowing some wiggle room here lea= ds us into not-so-great territory. We could certainly coalesce any trailing spaces when we encounter a tab, but who's to say those spaces weren't significant? That kind of pushes us down a path where we try to open the f= ile, and if it fails we keep stripping off a single unit of trailing whitespace until we either run out or the open() succeeds, and I'm not sure I really l= ike that kind of guessing. My gut feeling here is that we shouldn't try to accept patches kind of malformed here, lest we do something wrong in trying to guess. --=20 You are receiving this mail because: You are the assignee for the bug.=