[Bug 42422] [libc] [patch] dbm_delete returns -1 instead of 1 when the key does not exist in the database.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 20 01:31:47 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=42422

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: pfg
Date: Fri Feb 20 01:31:11 UTC 2015
New revision: 279037
URL: https://svnweb.freebsd.org/changeset/base/279037

Log:
  dbm_delete(3) correct man page to match current behaviour.

  "The dbm_store() and dbm_delete() functions shall return 0 when they
  succeed and a negative value when they fail."

  Reference:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/dbm_clearerr.html

  PR:        42422
  Suggested by:    delphij
  MFC after:    3 days

Changes:
  head/lib/libc/db/man/dbm.3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list