From ben@scientia.demon.co.uk  Mon May  1 13:10:35 2000
Return-Path: <ben@scientia.demon.co.uk>
Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13])
	by hub.freebsd.org (Postfix) with ESMTP id A009537C2E9
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 May 2000 13:10:32 -0700 (PDT)
	(envelope-from ben@scientia.demon.co.uk)
Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim)
	by scientia.demon.co.uk with esmtp (Exim 3.12 #1)
	id 12mKcF-000B8w-00 for FreeBSD-gnats-submit@freebsd.org;
	Mon, 01 May 2000 19:08:19 +0100
Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7)
	id 12mKcE-000MLl-00 for FreeBSD-gnats-submit@freebsd.org;
	Mon, 01 May 2000 19:08:18 +0100
Message-Id: <E12mKcE-000MLl-00@strontium.scientia.demon.co.uk>
Date: Mon, 01 May 2000 19:08:18 +0100
From: Ben Smithurst <ben@scientia.demon.co.uk>
Reply-To: ben@scientia.demon.co.uk
To: FreeBSD-gnats-submit@freebsd.org
Subject: futimes() and lutimes() missing from <sys/time.h> in 3.x
X-Send-Pr-Version: 3.2

>Number:         18329
>Category:       bin
>Synopsis:       futimes() and lutimes() missing from <sys/time.h> in 3.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ben
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  1 13:20:02 PDT 2000
>Closed-Date:    Fri Jul 20 06:10:09 BST 2001
>Last-Modified:  Fri Jul 20 06:11:59 BST 2001
>Originator:     Ben Smithurst
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

Any 3.x system.

>Description:

Declarations for futimes() and lutimes() are missing from <sys/time.h>
in 3.x (and earlier, perhaps, I haven't looked).  This was fixed in rev
1.41, but never MFC'd to RELENG_3, it would appear.

>How-To-Repeat:

>Fix:

MFC of rev 1.41:

Index: time.h
===================================================================
RCS file: /usr/cvs/src/sys/sys/time.h,v
retrieving revision 1.35.2.3
diff -u -r1.35.2.3 time.h
--- time.h	1999/08/29 16:32:50	1.35.2.3
+++ time.h	2000/05/01 18:05:55
@@ -289,8 +289,10 @@
 
 __BEGIN_DECLS
 int	adjtime __P((const struct timeval *, struct timeval *));
+int	futimes __P((int, const struct timeval *));
 int	getitimer __P((int, struct itimerval *));
 int	gettimeofday __P((struct timeval *, struct timezone *));
+int	lutimes __P((const char *, const struct timeval *));
 int	setitimer __P((int, const struct itimerval *, struct itimerval *));
 int	settimeofday __P((const struct timeval *, const struct timezone *));
 int	utimes __P((const char *, const struct timeval *));

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ben 
Responsible-Changed-By: nrahlstr 
Responsible-Changed-When: Mon Jul 10 18:35:09 PDT 2000 
Responsible-Changed-Why:  
Ben is now a committer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18329 
State-Changed-From-To: open->closed 
State-Changed-By: ben 
State-Changed-When: Fri Jul 20 06:10:09 BST 2001 
State-Changed-Why:  
I don't have a 3.x system to test this change through a buildworld 
on, and I think it's so minor that it doesn't matter any more.  People 
should be using 4.x anyway. :-)  If any committer with a 3.x system wants 
to test and commit this, go right ahead... 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18329 
>Unformatted:
