mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-17 15:44:36 +00:00
- (dtucker) [loginrec.c] Use UT_LINESIZE if available, prevents truncating
pty name on Linux 2.6.x systems. Patch from jpe at eisenmenger.org.
This commit is contained in:
parent
a8104b5c92
commit
4d2f361f96
@ -1,3 +1,7 @@
|
||||
20040408
|
||||
- (dtucker) [loginrec.c] Use UT_LINESIZE if available, prevents truncating
|
||||
pty name on Linux 2.6.x systems. Patch from jpe at eisenmenger.org.
|
||||
|
||||
20040407
|
||||
- (dtucker) [session.c] Flush stdout after displaying loginmsg. From
|
||||
f_mohr at yahoo.de.
|
||||
@ -947,4 +951,4 @@
|
||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||
|
||||
$Id: ChangeLog,v 1.3303 2004/04/07 04:16:11 mouring Exp $
|
||||
$Id: ChangeLog,v 1.3304 2004/04/08 00:57:05 dtucker Exp $
|
||||
|
@ -158,7 +158,7 @@
|
||||
#include "log.h"
|
||||
#include "atomicio.h"
|
||||
|
||||
RCSID("$Id: loginrec.c,v 1.54 2004/02/10 05:49:35 dtucker Exp $");
|
||||
RCSID("$Id: loginrec.c,v 1.55 2004/04/08 00:57:05 dtucker Exp $");
|
||||
|
||||
#ifdef HAVE_UTIL_H
|
||||
# include <util.h>
|
||||
@ -1354,7 +1354,11 @@ static int
|
||||
syslogin_perform_logout(struct logininfo *li)
|
||||
{
|
||||
# ifdef HAVE_LOGOUT
|
||||
# ifdef UT_LINESIZE
|
||||
char line[UT_LINESIZE];
|
||||
# else
|
||||
char line[8];
|
||||
# endif
|
||||
|
||||
(void)line_stripname(line, li->line, sizeof(line));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user