[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Trouble with 64-bit time_t on 6.0_STABLE
On Fri, Oct 19, 2012 at 09:36:13PM +0700, Pongthep Kulkrisada wrote:
> But what if this kind of problem comes up?
It is better to define on-disk structure layout with fixed size types
only (like uint32_t or uint64_t).
To fix, you need to recognize the old style data on read and use compatibility
code, which reads it via a uint32_t and then converts to time_t.
If the fixed app has to be compatible with old binaries, you will need to do
the same for writing.
Main Index |
Thread Index |