Module Name:    src
Committed By:   christos
Date:           Fri Mar  8 16:52:11 UTC 2013

Modified Files:
        src/lib/libc/sys: utimes.2

Log Message:
PR/47631: NAKAJIMA Yoshihiro

1. Utimens and lutimens don't require timeval but timespec.
2. The order of functions doesn't have a uniformity.
3. Utimens.2 and lutimens.2 aren't installed.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/libc/sys/utimes.2

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

Modified files:

Index: src/lib/libc/sys/utimes.2
diff -u src/lib/libc/sys/utimes.2:1.36 src/lib/libc/sys/utimes.2:1.37
--- src/lib/libc/sys/utimes.2:1.36	Sun Jan 13 03:15:02 2013
+++ src/lib/libc/sys/utimes.2	Fri Mar  8 11:52:11 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: utimes.2,v 1.36 2013/01/13 08:15:02 dholland Exp $
+.\"	$NetBSD: utimes.2,v 1.37 2013/03/08 16:52:11 christos Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)utimes.2	8.1 (Berkeley) 6/4/93
 .\"
-.Dd November 18, 2012
+.Dd March 8, 2013
 .Dt UTIMES 2
 .Os
 .Sh NAME
@@ -50,11 +50,11 @@
 .Ft int
 .Fn lutimes "const char *path" "const struct timeval times[2]"
 .Ft int
-.Fn utimens "const char *path" "const struct timeval times[2]"
+.Fn futimes "int fd" "const struct timeval times[2]"
 .Ft int
-.Fn lutimens "const char *path" "const struct timeval times[2]"
+.Fn utimens "const char *path" "const struct timespec times[2]"
 .Ft int
-.Fn futimes "int fd" "const struct timeval times[2]"
+.Fn lutimens "const char *path" "const struct timespec times[2]"
 .Ft int
 .Fn futimens "int fd" "const struct timespec times[2]"
 .In fcntl.h

Reply via email to