diff options
author | ben <ben@pkgsrc.org> | 2003-12-01 15:18:27 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2003-12-01 15:18:27 +0000 |
commit | bd27e2a19d96a888e6f685a64121b4790d5ca3a7 (patch) | |
tree | da9ef2342128f25815d232b88d20f9782ad567c2 /math/dfftpack | |
parent | f6c8670900a38550342df0355dc2bfd95c7e4c6e (diff) | |
download | pkgsrc-bd27e2a19d96a888e6f685a64121b4790d5ca3a7.tar.gz |
On sparc64 when I used the "w" command, the screen logins had absurdly
large login and idle times. This was due to a bug in utmp.c:
in os.h
-------
# define utmp utmpx
# define ut_time ut_xtime
in utmp.c::makeuser()
---------------------
struct utmp *u;
(void)time((time_t *)&u->ut_time);
The above works fine on i386 where ut_xtime and time_t are the same size,
but on sparc64 ut_xtime is 8 bytes rather than 4.
This fix was tested on i386 and sparc64.
Diffstat (limited to 'math/dfftpack')
0 files changed, 0 insertions, 0 deletions