Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2022 17:48:06 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Matthias Andree <matthias.andree@gmx.de>, freebsd-arch@freebsd.org, FreeBSD Hackers <freebsd-hackers@freebsd.org>, ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: [RFC] patch's default backup behavior
Message-ID:  <20220410174806.48e53928@ernst.home>
In-Reply-To: <CACNAnaGuKeFmwrp98yQg=vwNG6LNHkD7gXGhcD_ytJNi9q7Vew@mail.gmail.com>
References:  <CACNAnaGTZSGKP=FKT1deAjJ0W=Q5Ezqf0ZinC2ydDzUksk%2BFtw@mail.gmail.com> <9f6f6d16-8e2e-b91d-9ba1-b2cf13270020@gmx.de> <CACNAnaGuKeFmwrp98yQg=vwNG6LNHkD7gXGhcD_ytJNi9q7Vew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Apr 2022 10:21:56 -0500
Kyle Evans <kevans@freebsd.org> wrote:

> On Sun, Apr 10, 2022 at 5:33 AM Matthias Andree <matthias.andree@gmx.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220410174806.48e53928>