summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorjlam <jlam@NetBSD.org>2003-09-08 06:41:23 +0000
committerjlam <jlam@NetBSD.org>2003-09-08 06:41:23 +0000
commit140fe23a05ca652b72cf93da4acdbd3b8fd7908a (patch)
tree35005a8ac1267f2331c20e336c83034dbabf13bf /sys
parenta7155b99517af4497004326cd02670f506bdf708 (diff)
strlen(pkgname) only returns the number of characters preceding the NUL,
but the size of the data field in the pkgdb.byfile.db file is the length of the string plus 1 for the NUL. Fix this check so that removing all of the files belonging to pkgname from pkgdb.byfile.db works again.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions