NetBSD Problem Report #50407
From www@NetBSD.org Thu Nov 5 08:05:14 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 65576A6551
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Nov 2015 08:05:14 +0000 (UTC)
Message-Id: <20151105080513.347BBA6562@mollari.NetBSD.org>
Date: Thu, 5 Nov 2015 08:05:13 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Correct errors in backtrace.3
X-Send-Pr-Version: www-1.0
>Number: 50407
>Category: misc
>Synopsis: Correct errors in backtrace.3
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 05 08:10:00 +0000 2015
>Closed-Date: Thu Nov 05 08:29:58 +0000 2015
>Last-Modified: Thu Nov 05 08:30:01 +0000 2015
>Originator: Henning Petersen
>Release: -current
>Organization:
>Environment:
>Description:
Corect errors in man page backtrace.3 .
>How-To-Repeat:
>Fix:
diff -u -p -r1.5 backtrace.3
--- lib/libexecinfo/backtrace.3 22 Aug 2013 17:08:43 -0000 1.5
+++ lib/libexecinfo/backtrace.3 5 Nov 2015 07:53:14 -0000
@@ -46,7 +46,7 @@
.Ft "char **"
.Fn backtrace_symbols_fmt "void * const *addrlist" "size_t len" "const char *fmt"
.Ft int
-.Fn backtrace_symbols_fmt_fd "void * const *addrlist" "size_t len" "const char *fmt" "int fd"
+.Fn backtrace_symbols_fd_fmt "void * const *addrlist" "size_t len" "int fd" "const char *fmt"
.Sh DESCRIPTION
The
.Fn backtrace
@@ -105,7 +105,7 @@ with a format argument of
The
.Fn backtrace_symbols_fd
and
-.Fn backtrace_symbols_fmt_fd
+.Fn backtrace_symbols_fd_fmt
are similar to the non _fd named functions, only instead of returning
an array or strings, they print a new-line separated array of strings in
fd, and return
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 05 Nov 2015 08:29:58 +0000
State-Changed-Why:
Committed, thanks.
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50407 CVS commit: src/lib/libexecinfo
Date: Thu, 5 Nov 2015 08:29:42 +0000
Module Name: src
Committed By: wiz
Date: Thu Nov 5 08:29:42 UTC 2015
Modified Files:
src/lib/libexecinfo: backtrace.3
Log Message:
Correctly document backtrace_symbols_fd_fmt.
From Henning Petersen in PR 50407.
Bump date.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libexecinfo/backtrace.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.