Paul Eggert <[EMAIL PROTECTED]> wrote:
> "Nelson H. F. Beebe" <[EMAIL PROTECTED]> writes:
>
>> I suspect that the omission of the nanoseconds values in the
>> timestamps reported by GNU stat is simply an oversight that can be
>> easily rectified, and should be.
>
> Thanks for reporting that.  The following patch works for me on Solaris 8.
>
> 2004-01-31  Paul Eggert  <[EMAIL PROTECTED]>
>
>       * src/stat.c: Include timespec.h.
>       (human_time): Accept nanoseconds arg.  Also, accept time
>       rather than pointer-to-const-time, for clarity.  All callers changed.
>       (print_stat): Pass nanoseconds arg to human_time.
>       Problem reported by Nelson H. F. Beebe.

Thanks.
I've merged this part (had already done the rest).

>       (human_time): ...  Also, accept time
>       rather than pointer-to-const-time, for clarity.  All callers changed.

Also, I moved all of the related definitions from system.h to timespec.h:

        * timespec.h (ST_TIME_CMP_NS, ST_TIME_CMP): Define.
        (ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise.
        From coreutils' system.h.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to