Next: , Previous: , Up: Hacking   [Contents][Index]


3.2 Stamp resolution

Regarding RCS, recorded timestamps come into play in two places:

Historically, up through version 5.9.4, RCS behaved “agnostically” with respect to the subsecond component of the file modification time, relying on the operating system and filesystem to take care of things at whatever resolution was available at the time, with the single exception of the ‘-T’ option (see Misc common options). In the presence of this option, RCS would:

For versions after 5.9.4, if the filesystem supports it, RCS reads and writes file modification time with subsecond resolution, given the ‘-T’ option.

It’s important to keep in mind that by design, the delta date component is limited to second resolution, so subsecond resolution is only guaranteed for operations where the file modification time originates from a file actually existing on the filesystem (i.e., via the stat(2) system call).