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/create Pull up revisions 1.17-1.19...
details: https://anonhg.NetBSD.org/src/rev/90cbc2f20bdd
branches: netbsd-1-4
changeset: 470824:90cbc2f20bdd
user: he <he%NetBSD.org@localhost>
date: Mon Jul 31 18:18:41 2000 +0000
description:
Pull up revisions 1.17-1.19 (requested by hubertf):
Update pkg_install tools by bringing in bug fixes and feature
additions since the last release. Fixes PR#10083 and PR#10687
and a number of problems not formally reported.
diffstat:
usr.sbin/pkg_install/create/pl.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (46 lines):
diff -r 3630d59f0bda -r 90cbc2f20bdd usr.sbin/pkg_install/create/pl.c
--- a/usr.sbin/pkg_install/create/pl.c Mon Jul 31 18:18:38 2000 +0000
+++ b/usr.sbin/pkg_install/create/pl.c Mon Jul 31 18:18:41 2000 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: pl.c,v 1.11.2.2 1999/09/13 22:04:52 he Exp $ */
+/* $NetBSD: pl.c,v 1.11.2.3 2000/07/31 18:18:41 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: pl.c,v 1.11 1997/10/08 07:46:35 charnier Exp";
#else
-__RCSID("$NetBSD: pl.c,v 1.11.2.2 1999/09/13 22:04:52 he Exp $");
+__RCSID("$NetBSD: pl.c,v 1.11.2.3 2000/07/31 18:18:41 he Exp $");
#endif
#endif
@@ -188,18 +188,18 @@
warnx("Warning - block special device `%s' in PLIST", name);
break;
default:
+ (void) strcpy(buf, CHECKSUM_HEADER);
+ if (MD5File(name, &buf[ChecksumHeaderLen]) != (char *) NULL) {
+ tmp = new_plist_entry();
+ tmp->name = strdup(buf);
+ tmp->type = PLIST_COMMENT; /* PLIST_MD5 - HF */
+ tmp->next = p->next;
+ tmp->prev = p;
+ p->next = tmp;
+ p = tmp;
+ }
break;
}
- (void) strcpy(buf, CHECKSUM_HEADER);
- if (MD5File(name, &buf[ChecksumHeaderLen]) != (char *) NULL) {
- tmp = new_plist_entry();
- tmp->name = strdup(buf);
- tmp->type = PLIST_COMMENT; /* PLIST_MD5 - HF */
- tmp->next = p->next;
- tmp->prev = p;
- p->next = tmp;
- p = tmp;
- }
break;
default:
break;
Home |
Main Index |
Thread Index |
Old Index