diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-12-01 21:19:51 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-12-01 21:19:51 +0000 |
commit | 75214f9c195e0d65b5640ba236e7b6113142f561 (patch) | |
tree | 0003759f5fbea700f29b3b7e363b000a426751cb /loginrec.c | |
parent | 43dc8da75cf671fdae296667c1238f223145a528 (diff) | |
download | openssh-git-75214f9c195e0d65b5640ba236e7b6113142f561.tar.gz |
20001202
- (bal) Backed out of part of Alain St-Denis' loginrec.c patch.
- (bal) Irix need some sort of mansubdir, patch by Michael Stone
<mstone@cs.loyola.edu>
Also removed a finished entry in TODO, and changed my address in the
CREDITS file to match my new home address.
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -161,7 +161,7 @@ #include "xmalloc.h" #include "loginrec.h" -RCSID("$Id: loginrec.c,v 1.27 2000/11/10 03:28:31 mouring Exp $"); +RCSID("$Id: loginrec.c,v 1.28 2000/12/01 21:19:51 mouring Exp $"); #ifdef HAVE_UTIL_H # include <util.h> @@ -512,13 +512,8 @@ char * line_stripname(char *dst, const char *src, int dstsize) { memset(dst, '\0', dstsize); -#ifdef sgi - if (strncmp(src, "/dev/tty", 8) == 0) - strlcpy(dst, src + 8, dstsize); -#else if (strncmp(src, "/dev/", 5) == 0) strlcpy(dst, src + 5, dstsize); -#endif else strlcpy(dst, src, dstsize); return dst; |