From sime@logos.hr  Mon Oct 23 11:24:15 2006
Return-Path: <sime@logos.hr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C65C416A415
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Oct 2006 11:24:15 +0000 (UTC)
	(envelope-from sime@logos.hr)
Received: from mail.logos.hr (gates.logos.hr [213.149.47.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5344843D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Oct 2006 11:24:14 +0000 (GMT)
	(envelope-from sime@logos.hr)
Received: from localhost (localhost.logos.hr [127.0.0.1])
	by mail.logos.hr (Postfix) with ESMTP id D9C5F26D054
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Oct 2006 13:24:12 +0200 (CEST)
Received: from mail.logos.hr ([127.0.0.1])
 by localhost (mail.logos.hr [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 13173-03-3 for <FreeBSD-gnats-submit@freebsd.org>;
 Mon, 23 Oct 2006 13:24:05 +0200 (CEST)
Received: by mail.logos.hr (Postfix, from userid 34062)
	id 18E6B26D050; Mon, 23 Oct 2006 13:24:05 +0200 (CEST)
Message-Id: <20061023112405.18E6B26D050@mail.logos.hr>
Date: Mon, 23 Oct 2006 13:24:05 +0200 (CEST)
From: Simun Mikecin <numisemis@yahoo.com>
Reply-To: Simun Mikecin <numisemis@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [fix] manpage: clock_gettime is in time.h instead of sys/time.h
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         104707
>Category:       docs
>Synopsis:       [fix] manpage: clock_gettime is in time.h instead of sys/time.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    danger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 23 11:30:18 GMT 2006
>Closed-Date:    Mon Jan 01 11:13:38 GMT 2007
>Last-Modified:  Mon Jan 01 11:13:38 GMT 2007
>Originator:     Simun Mikecin
>Release:        FreeBSD 6.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD plasma 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #1: Mon Sep 4 11:44:55 CEST 2006 root@plasma:/usr/obj/usr/src.6/sys/PLASMA i386


	
>Description:
As defined in:

http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html

clock_* functions and struct timespec should be defined in time.h instead of
sys/time.h. Actual time.h contains the right definition, it's just the man
page that is wrong.
>How-To-Repeat:
>Fix:
--- clock_gettime.2.orig	Sat Jul  3 01:52:13 2004
+++ clock_gettime.2	Mon Oct 23 13:15:03 2006
@@ -44,7 +44,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/time.h
+.In time.h
 .Ft int
 .Fn clock_gettime "clockid_t clock_id" "struct timespec *tp"
 .Ft int
@@ -73,7 +73,7 @@
 The structure pointed to by
 .Fa tp
 is defined in
-.In sys/time.h
+.In time.h
 as:
 .Pp
 .Bd -literal
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->danger 
Responsible-Changed-By: danger 
Responsible-Changed-When: Wed Nov 1 09:49:39 UTC 2006 
Responsible-Changed-Why:  
I will handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104707 
State-Changed-From-To: open->patched 
State-Changed-By: danger 
State-Changed-When: Sat Nov 4 09:36:11 UTC 2006 
State-Changed-Why:  
Fixed in -HEAD, MFC reminder. 
Thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104707 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/104707: commit references a PR
Date: Sat,  4 Nov 2006 09:35:45 +0000 (UTC)

 danger      2006-11-04 09:35:36 UTC
 
   FreeBSD src repository (doc committer)
 
   Modified files:
     lib/libc/sys         clock_gettime.2 
   Log:
   - clock_gettime is in time.h instead of sys/time.h
   
   Approved by: trhodes (mentor), keramida (mentor)
   PR: docs/104707
   MFC-after: 3 days
   
   Revision  Changes    Path
   1.23      +3 -3      src/lib/libc/sys/clock_gettime.2
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: danger 
State-Changed-When: Mon Jan 1 11:13:15 UTC 2007 
State-Changed-Why:  
It has been MFCed to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104707 
>Unformatted:
