Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix utimes/futimes after utimensat/futimens addition
details: https://anonhg.NetBSD.org/src/rev/f2911bbeec30
branches: trunk
changeset: 768537:f2911bbeec30
user: manu <manu%NetBSD.org@localhost>
date: Thu Aug 18 19:34:47 2011 +0000
description:
Fix utimes/futimes after utimensat/futimens addition
diffstat:
sys/kern/vfs_syscalls.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 841bd184e92b -r f2911bbeec30 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c Thu Aug 18 19:05:54 2011 +0000
+++ b/sys/kern/vfs_syscalls.c Thu Aug 18 19:34:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.c,v 1.436 2011/08/17 09:29:59 manu Exp $ */
+/* $NetBSD: vfs_syscalls.c,v 1.437 2011/08/18 19:34:47 manu Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.436 2011/08/17 09:29:59 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.437 2011/08/18 19:34:47 manu Exp $");
#ifdef _KERNEL_OPT
#include "opt_fileassoc.h"
@@ -3131,6 +3131,9 @@
error = copyin(tptr, ts, sizeof (ts));
if (error != 0)
return error;
+ } else {
+ ts[0] = tptr[0];
+ ts[1] = tptr[1];
}
}
Home |
Main Index |
Thread Index |
Old Index