FreeBSD Bugzilla – Attachment 24863 Details for
Bug 42422
[libc] [patch] dbm_delete returns -1 instead of 1 when the key does not exist in the database.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
db.patch.2.txt
db.patch.2.txt (text/plain), 404 bytes, created by
GB Clark
on 2003-01-09 07:32:27 UTC
(
hide
)
Description:
db.patch.2.txt
Filename:
MIME Type:
Creator:
GB Clark
Created:
2003-01-09 07:32:27 UTC
Size:
404 bytes
patch
obsolete
>*** ndbm.c Wed Sep 4 17:14:44 2002 >--- ndbm.c.patched Wed Sep 4 17:15:06 2002 >*************** >*** 171,181 **** > > dbtkey.data = key.dptr; > dbtkey.size = key.dsize; >! status = (db->del)(db, &dbtkey, 0); >! if (status) >! return (-1); >! else >! return (0); > } > > /* >--- 171,178 ---- > > dbtkey.data = key.dptr; > dbtkey.size = key.dsize; >! return (db->del)(db, &dbtkey, 0); >! > } > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42422
:
24863
|
153190