- (stevesk) remove erroneous #ifdef sgi code.

Michael Stone <mstone@cs.loyola.edu>
This commit is contained in:
Kevin Steves 2001-02-22 21:23:21 +00:00
parent e68c5670cd
commit 77aeaaf87f
2 changed files with 4 additions and 7 deletions

View File

@ -3,6 +3,8 @@
- (bal) Added mdoc2man.pl from Mark Roth <roth@feep.net>
- (bal) Removed reference to liblogin from contrib/README. It was
integrated into OpenSSH a long while ago.
- (stevesk) remove erroneous #ifdef sgi code.
Michael Stone <mstone@cs.loyola.edu>
20010221
- (bal) Removed -L/usr/ucblib -R/usr/ucblib for Solaris platform.
@ -4096,4 +4098,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.811 2001/02/22 06:20:10 mouring Exp $
$Id: ChangeLog,v 1.812 2001/02/22 21:23:21 stevesk Exp $

View File

@ -163,7 +163,7 @@
#include "log.h"
#include "atomicio.h"
RCSID("$Id: loginrec.c,v 1.31 2001/02/05 12:42:17 stevesk Exp $");
RCSID("$Id: loginrec.c,v 1.32 2001/02/22 21:23:21 stevesk Exp $");
#ifdef HAVE_UTIL_H
# include <util.h>
@ -539,13 +539,8 @@ line_abbrevname(char *dst, const char *src, int dstsize)
memset(dst, '\0', dstsize);
/* Always skip prefix if present */
#ifdef sgi
if (strncmp(src, "/dev/tty", 8) == 0)
src += 8;
#else
if (strncmp(src, "/dev/", 5) == 0)
src += 5;
#endif
len = strlen(src);