Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.sbin/pkg_install/lib Pull up revision 1.33 (request...



details:   https://anonhg.NetBSD.org/src/rev/44351ee2bf28
branches:  netbsd-1-4
changeset: 469754:44351ee2bf28
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 27 15:56:16 1999 +0000

description:
Pull up revision 1.33 (requested by fredb):
  Do not preserve uids or permissions of checked-out files (MTREE,
  DEINSTALL, INSTALL) into binary package tar files.  Does not
  affect files installed by the package itself.

diffstat:

 usr.sbin/pkg_install/lib/file.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 34ea1bac6f4f -r 44351ee2bf28 usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c   Sat Nov 27 15:49:14 1999 +0000
+++ b/usr.sbin/pkg_install/lib/file.c   Sat Nov 27 15:56:16 1999 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: file.c,v 1.25.2.4 1999/09/13 22:24:11 he Exp $ */
+/*     $NetBSD: file.c,v 1.25.2.5 1999/11/27 15:56:16 he Exp $ */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
 #else
-__RCSID("$NetBSD: file.c,v 1.25.2.4 1999/09/13 22:24:11 he Exp $");
+__RCSID("$NetBSD: file.c,v 1.25.2.5 1999/11/27 15:56:16 he Exp $");
 #endif
 #endif
 
@@ -542,9 +542,9 @@
        char    cmd[FILENAME_MAX];
 
        if (fname[0] == '/')
-               (void) snprintf(cmd, sizeof(cmd), "cp -p -r %s %s", fname, to);
+               (void) snprintf(cmd, sizeof(cmd), "cp -r %s %s", fname, to);
        else
-               (void) snprintf(cmd, sizeof(cmd), "cp -p -r %s/%s %s", dir, fname, to);
+               (void) snprintf(cmd, sizeof(cmd), "cp -r %s/%s %s", dir, fname, to);
        if (vsystem(cmd)) {
                cleanup(0);
                errx(2, "could not perform '%s'", cmd);



Home | Main Index | Thread Index | Old Index