diff options
| author | jlam <jlam@NetBSD.org> | 2003-09-08 06:41:23 +0000 |
|---|---|---|
| committer | jlam <jlam@NetBSD.org> | 2003-09-08 06:41:23 +0000 |
| commit | 140fe23a05ca652b72cf93da4acdbd3b8fd7908a (patch) | |
| tree | 35005a8ac1267f2331c20e336c83034dbabf13bf /sys | |
| parent | a7155b99517af4497004326cd02670f506bdf708 (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
