Subject: CVS commit: pkgsrc/misc/screen
To: None <pkgsrc-changes@NetBSD.org>
From: Ben Collver <ben@netbsd.org>
List: pkgsrc-changes
Date: 12/01/2003 15:18:27
Module Name: pkgsrc
Committed By: ben
Date: Mon Dec 1 15:18:27 UTC 2003
Modified Files:
pkgsrc/misc/screen: Makefile distinfo
pkgsrc/misc/screen/patches: patch-al
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 pkgsrc/misc/screen/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/misc/screen/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/misc/screen/patches/patch-al
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.