From: "Brian F. Feldman" Date: 2001-09-02T03:21:26+09:00 Subject: [ruby-talk:20680] Re: Do we about sub-second [amc]time on files? Oh yeah, and addresses for the specific diffs I've made: Brian Fundakowski Feldman wrote: > I just noticed I have an old patch lying around for file.c that implements > (fully, I think) support for the sub-second fields for access/modification/ > create times on files as per the stat(2) structure. Is this desirable? http://green.bikeshed.org/~green/ruby-mods/patch-file.c > In the same vein, I'm thinking the standard Time object should be converted > to use timespec, not timeval, to allow for no loss of precision when storing > times with as little granularity as the system allows for. Note that in the > patch for file.c I have now, there's a lot of / 1000 being doing on > nanosecond values to convert to microsecond values :) http://green.bikeshed.org/~green/ruby-mods/patch-time.c > What do you all think? -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------'