Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/ptyfs don't play with ctime directly anymore.
details: https://anonhg.NetBSD.org/src/rev/1f7a851fed74
branches: trunk
changeset: 584292:1f7a851fed74
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 12 16:43:38 2005 +0000
description:
don't play with ctime directly anymore.
diffstat:
sys/fs/ptyfs/ptyfs_subr.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 08bddffcfbad -r 1f7a851fed74 sys/fs/ptyfs/ptyfs_subr.c
--- a/sys/fs/ptyfs/ptyfs_subr.c Mon Sep 12 16:42:09 2005 +0000
+++ b/sys/fs/ptyfs/ptyfs_subr.c Mon Sep 12 16:43:38 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptyfs_subr.c,v 1.3 2005/09/12 16:42:09 christos Exp $ */
+/* $NetBSD: ptyfs_subr.c,v 1.4 2005/09/12 16:43:38 christos Exp $ */
/*
* Copyright (c) 1993
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ptyfs_subr.c,v 1.3 2005/09/12 16:42:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ptyfs_subr.c,v 1.4 2005/09/12 16:43:38 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -165,7 +165,6 @@
ptyfs->ptyfs_uid = ptyfs->ptyfs_gid = 0;
ptyfs->ptyfs_flags |= PTYFS_CHANGE;
PTYFS_ITIMES(ptyfs, NULL, NULL, NULL);
- TIMEVAL_TO_TIMESPEC(&time, &ptyfs->ptyfs_ctime);
ptyfs->ptyfs_birthtime = ptyfs->ptyfs_mtime =
ptyfs->ptyfs_atime = ptyfs->ptyfs_ctime;
ptyfs->ptyfs_flags = 0;
Home |
Main Index |
Thread Index |
Old Index