NetBSD Problem Report #56010

From www@netbsd.org  Tue Feb 23 07:23:04 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 20FCE1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Feb 2021 07:23:04 +0000 (UTC)
Message-Id: <20210223072302.893A61A924A@mollari.NetBSD.org>
Date: Tue, 23 Feb 2021 07:23:02 +0000 (UTC)
From: hashikaw@mail.ru
Reply-To: hashikaw@mail.ru
To: gnats-bugs@NetBSD.org
Subject: timeradd(3) man page problem
X-Send-Pr-Version: www-1.0

>Number:         56010
>Category:       lib
>Synopsis:       timeradd(3) man page problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 23 07:25:00 +0000 2021
>Closed-Date:    Tue Feb 23 09:28:17 +0000 2021
>Last-Modified:  Tue Feb 23 09:30:02 +0000 2021
>Originator:     Kouichi Hashikawa
>Release:        NetBSD-9.99.80
>Organization:
>Environment:
NetBSD 9.99.80 (GENERIC64) #0: Sat Feb 20 22:18:32 UTC 2021
 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64

>Description:
timespeccmp()'s SYNOPSIS is not correct.

(NetBSD-9 has same problem)
>How-To-Repeat:

>Fix:
diff -u src/share/man/man3/timeradd.3-dist src/share/man/man3/timeradd.3
--- src/share/man/man3/timeradd.3-dist  2010-06-08 03:40:16.000000000 +0900
+++ src/share/man/man3/timeradd.3       2021-02-23 16:16:56.224479639 +0900
@@ -59,7 +59,7 @@
 .Ft int
 .Fn timespecisset "struct timespec *ts"
 .Ft int
-.Fn timespeccmp "struct timespec *a" "struct timespec b" CMP
+.Fn timespeccmp "struct timespec *a" "struct timespec *b" CMP
 .Sh DESCRIPTION
 These macros are provided for manipulating the
 .Fa timeval

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 23 Feb 2021 09:28:17 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56010 CVS commit: src/share/man/man3
Date: Tue, 23 Feb 2021 09:28:00 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Tue Feb 23 09:28:00 UTC 2021

 Modified Files:
 	src/share/man/man3: timeradd.3

 Log Message:
 Fix timespeccmp declaration.

 From Kouichi Hashikawa in PR 56010.


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/share/man/man3/timeradd.3

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.