Subject: PR/31430 CVS commit: src/sys/fs/ptyfs
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Simon Burge <simonb@netbsd.org>
List: netbsd-bugs
Date: 10/12/2005 15:24:02
The following reply was made to PR kern/31430; it has been noted by GNATS.

From: Simon Burge <simonb@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31430 CVS commit: src/sys/fs/ptyfs
Date: Wed, 12 Oct 2005 15:23:33 +0000 (UTC)

 Module Name:	src
 Committed By:	simonb
 Date:		Wed Oct 12 15:23:33 UTC 2005
 
 Modified Files:
 	src/sys/fs/ptyfs: ptyfs_vnops.c
 
 Log Message:
 Update the mod and access times directly from ptyfs_read() and
 ptyfs_write() rather than setting a flag and updating these times
 through ptyfs_itimes() at some indeterminate time in the future.
 However, just use the "time" variable to set the times instead of
 using a potentially expensive call to nanotime().  A HZ resolution
 on these timestamps is more than enough.
 
 (Possibly incomplete) fix for PR kern/31430.
 OK'd be christos@.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 src/sys/fs/ptyfs/ptyfs_vnops.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.