From nobody Sun Apr 10 15:48:06 2022 X-Original-To: freebsd-hackers@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 E03711A87DBE; Sun, 10 Apr 2022 15:48:12 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KbxGN03Sdz3lc5; Sun, 10 Apr 2022 15:48:12 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x42e.google.com with SMTP id s28so3668920wrb.5; Sun, 10 Apr 2022 08:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=Yewh/XlVg5+aywoADu3h0ltVxqXZcs72Sk6Dq+0qLOI=; b=njOtJs+CHcZS1s3H+H2NE/OqxQcS/JeD+J+jc95IzkdUUUh5uWZoG2XGwWMY67vLt/ tEkaWcf/90NaQI9zx7LuXZMi0p4Vo2S/FyklDSQjXtcyGZRxkH0URFA6VrpHLoXVn+Pq mF6KRJHpWuPMOlu8fJsjbQnkEXCuzdrVbktuQFFCHfAvDh6qVcwRHygrXT9vkwqCD+Z7 4BJuNgPkeNCq/d5Ck4a13HMqIo83XNwirfqMhYOfStiheYJvP+XcEer15h3614mcGIMY AP+M+K2WeZgT1Lfz89RufNpszS/UrOtOvQWgRzGxmUu1hwYyGlu0VGgkiSkoRsGNfTeh idgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=Yewh/XlVg5+aywoADu3h0ltVxqXZcs72Sk6Dq+0qLOI=; b=cpvdcEMMWxeIC1N1w55R1BSoSdJ1tMJKZN4fKYHtIpqF8gH5JuvxvFE6d6KA3LjBTv 70MwAlBbdVpu1o9A/1yFWXjv/FYSsLD6ZhpzyHTePqG7uNi8THVb66b4AfZVsVHrBSyD 2tO7C4zIbquK7+u1lXMwDQiWjcc7RgsC/UDy6LQr5MiSUziVcL6hfdB8VKymblmIRsiP PuG9WceeTKUPkpLaSrI4yUFFxWpfrPON9U6IAJyfvYxHtZzYK3PMvxSQYagyfrqhKCUi ZJEl26i+qPdKJIyThaCsgtq6nUhDxN6d7MBp6pKu85qR3MEv4GMIsfO0lnMk8JO4dl6M sV3w== X-Gm-Message-State: AOAM533TpEpN4KTraEVMxG1/GnbKqk+cyckOLqJOoY5WYFjUrMpeDH6z X1d2FPCXhrEyyliR9YxuZedR1MZqE5g= X-Google-Smtp-Source: ABdhPJyEyWJ1CzupJagxM2+oVQugaVZamO/oQc2UWJ8Wn2UYXudnrGUAXKCg2WghbyZq0qypmfWcgg== X-Received: by 2002:a5d:6d0f:0:b0:207:990e:8e6 with SMTP id e15-20020a5d6d0f000000b00207990e08e6mr9161410wrq.384.1649605690866; Sun, 10 Apr 2022 08:48:10 -0700 (PDT) Received: from ernst.home (p5b3be0d9.dip0.t-ipconnect.de. [91.59.224.217]) by smtp.gmail.com with ESMTPSA id s17-20020adfdb11000000b001f02d5fea43sm24742088wri.98.2022.04.10.08.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 08:48:10 -0700 (PDT) Date: Sun, 10 Apr 2022 17:48:06 +0200 From: Gary Jennejohn To: Kyle Evans Cc: Matthias Andree , freebsd-arch@freebsd.org, FreeBSD Hackers , ports-list freebsd Subject: Re: [RFC] patch's default backup behavior Message-ID: <20220410174806.48e53928@ernst.home> In-Reply-To: References: <9f6f6d16-8e2e-b91d-9ba1-b2cf13270020@gmx.de> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KbxGN03Sdz3lc5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=njOtJs+C; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::42e as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-0.97 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; RECEIVED_SPAMHAUS_PBL(0.00)[91.59.224.217:received]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; NEURAL_SPAM_MEDIUM(0.03)[0.028]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42e:from]; MLMMJ_DEST(0.00)[freebsd-arch,freebsd-hackers,freebsd-ports]; FREEMAIL_CC(0.00)[gmx.de,freebsd.org]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 10 Apr 2022 10:21:56 -0500 Kyle Evans wrote: > On Sun, Apr 10, 2022 at 5:33 AM Matthias Andree wrote: [big SNIP] > > I checked POSIX 2018, apparently the backup files (.orig) are only > > required if -b is given, so omitting them would seem fine to me, and the > > rationale section suggests that for consistency with other utilities, > > the default would be to NOT save .orig file, but the -b option can be > > used to request them being written (but then consistently on all files > > not just those without rejects - also because there is no working patch > > -R for ed-style diffs.). > > I'd actually be OK with that, too, to an extent. > Please do not change the behavior of the -b flag! I make patches to /usr/src/ to eliminate things I don't want compiled in when I run buildkernel and buildworld and then move the resulting .orig backups to the original file names to eliminate those changes. -- Gary Jennejohn