Subject: pkgdb_remove_pkg() needs cc + 1
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/11/2003 01:45:18
pkgdb_remove_pkg() function in lib/pkgdb.c has:
cc = strlen(pkg);

I think it should be:
cc = strlen(pkg) + 1;

I think it never matched in pkg_delete's OnlyDeleteFromPkgDB.

Can someone check this?

   Jeremy C. Reed
   http://bsd.reedmedia.net/