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 | 8af6a397e46865f65da4f71a47aff35b06bc0e92 (patch) | |
tree | da9ef2342128f25815d232b88d20f9782ad567c2 /misc/screen/Makefile | |
parent | e299dd8c0e32806a6f7aa43b95106ce8f1c7364b (diff) | |
download | pkgsrc-8af6a397e46865f65da4f71a47aff35b06bc0e92.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 'misc/screen/Makefile')
-rw-r--r-- | misc/screen/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index e8b0980b934..5144294c280 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.49 2003/11/27 20:29:48 wiz Exp $ +# $NetBSD: Makefile,v 1.50 2003/12/01 15:18:27 ben Exp $ DISTNAME= screen-4.0.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \ ${MASTER_SITE_GNU:=screen/} |