Date: Mon, 18 Apr 2005 13:11:31 GMT From: Aleksej Saushev <asau@pisem.net> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/80070: [patch] Wrong dbm_close return value described in dbm(3) man page Message-ID: <200504181311.j3IDBVnA045735@www.freebsd.org> Resent-Message-ID: <200504181320.j3IDKDeO017894@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80070 >Category: docs >Synopsis: [patch] Wrong dbm_close return value described in dbm(3) man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 18 13:20:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Aleksej Saushev >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: >Description: Quoting dbm(3) man page: ---------------------------------------------------------------- void dbm_close(DBM *db); .. The dbm_close(db) function closes the database. The dbm_close() function normally returns zero. ---------------------------------------------------------------- /usr/include/ndbm.h file contains line: void dbm_close(DBM *); >How-To-Repeat: >Fix: diff -u /usr/src/lib/libc/db/man/dbm.3.orig /usr/src/lib/libc/db/man/dbm.3 --- /usr/src/lib/libc/db/man/dbm.3.orig Thu Apr 7 19:20:43 2005 +++ /usr/src/lib/libc/db/man/dbm.3 Thu Apr 7 19:21:07 2005 @@ -124,10 +124,6 @@ .Fn dbm_close db function closes the database. -The -.Fn dbm_close -function -normally returns zero. .Pp The .Fn dbm_store db key data flags >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504181311.j3IDBVnA045735>