Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xinstall restore unlink file if strip fails (from Ta...



details:   https://anonhg.NetBSD.org/src/rev/62fd376195fe
branches:  trunk
changeset: 338936:62fd376195fe
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 17 15:52:37 2015 +0000

description:
restore unlink file if strip fails (from Takeshi Nakayama)

diffstat:

 usr.bin/xinstall/xinstall.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0d78ec57146a -r 62fd376195fe usr.bin/xinstall/xinstall.c
--- a/usr.bin/xinstall/xinstall.c       Wed Jun 17 15:34:55 2015 +0000
+++ b/usr.bin/xinstall/xinstall.c       Wed Jun 17 15:52:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xinstall.c,v 1.120 2015/06/17 15:34:08 christos Exp $  */
+/*     $NetBSD: xinstall.c,v 1.121 2015/06/17 15:52:37 christos Exp $  */
 
 /*
  * Copyright (c) 1987, 1993
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93";
 #else
-__RCSID("$NetBSD: xinstall.c,v 1.120 2015/06/17 15:34:08 christos Exp $");
+__RCSID("$NetBSD: xinstall.c,v 1.121 2015/06/17 15:52:37 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -1059,7 +1059,7 @@
                stripprog = _PATH_STRIP;
 #endif
        }
-       run(stripprog, stripArgs, to_name, 0);
+       run(stripprog, stripArgs, to_name, 1);
 }
 
 /*



Home | Main Index | Thread Index | Old Index