[OpenAFS-devel] butc crash on linux/amd64

Russ Allbery rra@stanford.edu
Mon, 20 Mar 2006 09:20:47 -0800


Rainer Toebbicke <rtb@pclella.cern.ch> writes:

> In the concrete case of kreltime.c the main suspect is

> timePtr = localtime((time_t *) & timeSecs);

> On amd64 (and ia64) a time_t is 8 bytes long, while the underlying
> timeSecs (afs_int32) is still 4.

Oh, good catch!  I completely overlooked that.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>