Hi, On Tue, Jun 25, 2002 at 03:43:49PM -0800, Beech Rintoul wrote: > Using the new C pkg_version I get the following:
OK, the problem is that you've got a number of ports with no +CONTENTS files in /var/db/pkg... This is not good. But pkg_version shouldn't be dumping core anyway: Index: perform.c =================================================================== RCS file: /usr/home/ncvs/src/usr.sbin/pkg_install/version/perform.c,v retrieving revision 1.1 diff -u -r1.1 perform.c --- perform.c 24 Jun 2002 16:03:24 -0000 1.1 +++ perform.c 26 Jun 2002 19:24:18 -0000 @@ -109,6 +109,10 @@ } read_plist(&plist, fp); fclose(fp); + if (plist.name == NULL) { + warnx("%s does not appear to be a valid package!", pkg); + return 1; + } /* * First we check if the installed package has an origin, and try Hopefully I can get this committed soon... Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message