mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 07:44:29 +02:00
- (stevesk) remove erroneous #ifdef sgi code.
Michael Stone <mstone@cs.loyola.edu>
This commit is contained in:
parent
e68c5670cd
commit
77aeaaf87f
@ -3,6 +3,8 @@
|
|||||||
- (bal) Added mdoc2man.pl from Mark Roth <roth@feep.net>
|
- (bal) Added mdoc2man.pl from Mark Roth <roth@feep.net>
|
||||||
- (bal) Removed reference to liblogin from contrib/README. It was
|
- (bal) Removed reference to liblogin from contrib/README. It was
|
||||||
integrated into OpenSSH a long while ago.
|
integrated into OpenSSH a long while ago.
|
||||||
|
- (stevesk) remove erroneous #ifdef sgi code.
|
||||||
|
Michael Stone <mstone@cs.loyola.edu>
|
||||||
|
|
||||||
20010221
|
20010221
|
||||||
- (bal) Removed -L/usr/ucblib -R/usr/ucblib for Solaris platform.
|
- (bal) Removed -L/usr/ucblib -R/usr/ucblib for Solaris platform.
|
||||||
@ -4096,4 +4098,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
@ -163,7 +163,7 @@
|
|||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "atomicio.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
|
#ifdef HAVE_UTIL_H
|
||||||
# include <util.h>
|
# include <util.h>
|
||||||
@ -539,13 +539,8 @@ line_abbrevname(char *dst, const char *src, int dstsize)
|
|||||||
memset(dst, '\0', dstsize);
|
memset(dst, '\0', dstsize);
|
||||||
|
|
||||||
/* Always skip prefix if present */
|
/* Always skip prefix if present */
|
||||||
#ifdef sgi
|
|
||||||
if (strncmp(src, "/dev/tty", 8) == 0)
|
|
||||||
src += 8;
|
|
||||||
#else
|
|
||||||
if (strncmp(src, "/dev/", 5) == 0)
|
if (strncmp(src, "/dev/", 5) == 0)
|
||||||
src += 5;
|
src += 5;
|
||||||
#endif
|
|
||||||
|
|
||||||
len = strlen(src);
|
len = strlen(src);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user