Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2000 19:08:18 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/18329: futimes() and lutimes() missing from <sys/time.h> in 3.x
Message-ID:  <E12mKcE-000MLl-00@strontium.scientia.demon.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         18329
>Category:       bin
>Synopsis:       futimes() and lutimes() missing from <sys/time.h> in 3.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  1 13:20:02 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E12mKcE-000MLl-00>