Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2015 19:50:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 42422] [libc] [patch] dbm_delete returns -1 instead of 1 when the key does not exist in the database.
Message-ID:  <bug-42422-8-UwCkKhkIse@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-42422-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-42422-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=42422

--- Comment #6 from commit-hook@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-42422-8-UwCkKhkIse>