Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2015 19:53:38 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r280395 - stable/9/lib/libc/db/man
Message-ID:  <201503231953.t2NJrc8C067935@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Mon Mar 23 19:53:37 2015
New Revision: 280395
URL: https://svnweb.freebsd.org/changeset/base/280395

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

Modified:
  stable/9/lib/libc/db/man/dbm.3
Directory Properties:
  stable/9/lib/libc/   (props changed)

Modified: stable/9/lib/libc/db/man/dbm.3
==============================================================================
--- stable/9/lib/libc/db/man/dbm.3	Mon Mar 23 19:50:21 2015	(r280394)
+++ stable/9/lib/libc/db/man/dbm.3	Mon Mar 23 19:53:37 2015	(r280395)
@@ -15,7 +15,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 16, 2006
+.Dd February 19, 2015
 .Dt DBM 3
 .Os
 .Sh NAME
@@ -174,9 +174,7 @@ deletes the entry for
 The
 .Fn dbm_delete
 function
-normally returns zero but returns 1 if there was no entry with
-.Fa key
-in the database or returns -1 and sets
+normally returns zero or returns -1 and sets
 .Va errno
 if there were any errors.
 .Pp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503231953.t2NJrc8C067935>