GNU bug report logs - #19376
[PATCH 4/4] build: use -pi.bak instead of -pi

Previous Next

Package: coreutils;

Reported by: KO Myung-Hun <komh78 <at> gmail.com>

Date: Sun, 14 Dec 2014 03:49:04 UTC

Severity: normal

Tags: patch, wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19376 in the body.
You can then email your comments to 19376 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#19376; Package coreutils. (Sun, 14 Dec 2014 03:49:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to KO Myung-Hun <komh78 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 14 Dec 2014 03:49:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: KO Myung-Hun <komh78 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: [PATCH 4/4] build: use -pi.bak instead of -pi
Date: Sun, 14 Dec 2014 12:47:41 +0900
This fixes the following error.

-----
Can't do inplace edit without backup.
-----

* Makefile.am (dist-hook): Use -pi.bak instead of -pi.
* bootstrap.conf (bootstrap_epilogue): Likewise.
---
 Makefile.am    | 2 +-
 bootstrap.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index fb4af27..371eb59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -105,7 +105,7 @@ BUILT_SOURCES = .version
 # See the rm_subst comment for details.
 dist-hook: gen-ChangeLog
 	$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
-	$(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/Makefile.in
+	$(AM_V_at)perl -pi.bak -e '$(rm_subst)' $(distdir)/Makefile.in
 
 gen_start_date = 2008-02-08
 .PHONY: gen-ChangeLog
diff --git a/bootstrap.conf b/bootstrap.conf
index c0b5f02..0baf455 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -366,7 +366,7 @@ bootstrap_epilogue()
   # Why?  That pipeline searches all files in $(top_srcdir), and if you
   # happen to have large files (or apparently large sparse files), the
   # first grep may well run out of memory.
-  perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \
+  perl -pi.bak -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \
     po/Makefile.in.in
 
   # Install our git hooks, as long as "cp" accepts the --backup option,
-- 
1.8.5.2





Information forwarded to bug-coreutils <at> gnu.org:
bug#19376; Package coreutils. (Fri, 19 Oct 2018 01:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 19376 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 19376 <at> debbugs.gnu.org
Subject: RE: bug#19376: [PATCH 4/4] build: use -pi.bak instead of -pi
Date: Thu, 18 Oct 2018 19:25:08 -0600
tags 19376 wontfix
close 19376
stop

(triaging old bugs)

As explained in https://bugs.gnu.org/19377#18 ,
Leaving backup files scattered is undesired.

Closing this as "wontfix".

regards,
 - assaf






Added tag(s) wontfix. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 19 Oct 2018 01:26:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19376 <at> debbugs.gnu.org and KO Myung-Hun <komh78 <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 19 Oct 2018 01:26:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 16 Nov 2018 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 174 days ago.

Previous Next


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