Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 01:31:47 +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-aHYhah1Hcl@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 #4 from commit-hook@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.



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