@comment no checksum
is inserted in a packing-list, then the next file will not have
its MD5 checksum stored, and pkg_delete won't complain later if
the file checksum changed.
-/* $OpenBSD: pl.c,v 1.5 1998/10/13 23:09:50 marc Exp $ */
+/* $OpenBSD: pl.c,v 1.6 2000/04/26 15:25:29 espie Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: pl.c,v 1.5 1998/10/13 23:09:50 marc Exp $";
+static const char *rcsid = "$OpenBSD: pl.c,v 1.6 2000/04/26 15:25:29 espie Exp $";
#endif
/*
case PLIST_SRC:
there = p->name;
break;
+ case PLIST_COMMENT:
+ if (strcmp(p->name, "no checksum") == 0)
+ p = p->next;
+ break;
case PLIST_FILE:
(void) snprintf(name, sizeof(name), "%s/%s", there ? there : cwd, p->name);
if ((cp = MD5File(name, buf)) != NULL) {