bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls default time style


From: Markus Kuhn
Subject: Re: ls default time style
Date: Tue, 11 Dec 2001 14:58:03 +0000

Andreas Schwab wrote on 2001-12-11 14:50 UTC:
> Both Linux/Alpha and Linux/ia64 use 64-bit time_t.  Pluggin in new
> filesystems that support this is easy.  OK, network protocols will be
> harder to fix.

In practice, I fear that you will just get in a 64-bit integer word a
32-bit timestamp passed in the least significant half. Does all/most/any
software running under Linux/Alpha and Linux/ia64 that receives a 32-bit
timestamp and stores it in a 64-bit time_t do anything more
sophisticated than filling up the remaining 32-bit with the sign bit?
Does at least GNU software do that? Is there a recommended coding
practice for what to do exactly when converting 32-bit
seconds-since-the-epoch to 64-bit?

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]