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: Andreas Schwab
Subject: Re: ls default time style
Date: 11 Dec 2001 16:42:10 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1.30

Markus Kuhn <address@hidden> writes:

|> 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?

The kernel has all the business to cope with it.  Since there are no
filesystems with 64-bit time_t yet, I cannot check, but the kernel<->user
land interface is 64-bit clean.

Andreas.

-- 
Andreas Schwab                                  "And now for something
address@hidden                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

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