Subject: CVS commit: xsrc/xfree/xc/programs/xterm
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 07/21/2002 22:06:36
Module Name: xsrc
Committed By: simonb
Date: Sun Jul 21 19:06:36 UTC 2002
Modified Files:
xsrc/xfree/xc/programs/xterm: main.c
Log Message:
Check that the return value from ttyslot() is greater than 0 before
writing the utmp file.
Fixes w's "w: Stale utmp entry: <user> <tty> <pty>" errors.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 xsrc/xfree/xc/programs/xterm/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.