[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
Mon Mar 23 19:50:53 UTC 2015


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

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

Author: pfg
Date: Mon Mar 23 19:50:22 UTC 2015
New revision: 280394
URL: https://svnweb.freebsd.org/changeset/base/280394

Log:
  MFC    r279037:
  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

Changes:
_U  stable/10/
  stable/10/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