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) |
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
diff --git a/loginrec.c b/loginrec.c index 910524d18..224866128 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -161,7 +161,7 @@ | |||
161 | #include "xmalloc.h" | 161 | #include "xmalloc.h" |
162 | #include "loginrec.h" | 162 | #include "loginrec.h" |
163 | 163 | ||
164 | RCSID("$Id: loginrec.c,v 1.27 2000/11/10 03:28:31 mouring Exp $"); | 164 | RCSID("$Id: loginrec.c,v 1.28 2000/12/01 21:19:51 mouring Exp $"); |
165 | 165 | ||
166 | #ifdef HAVE_UTIL_H | 166 | #ifdef HAVE_UTIL_H |
167 | # include <util.h> | 167 | # include <util.h> |
@@ -512,13 +512,8 @@ char * | |||
512 | line_stripname(char *dst, const char *src, int dstsize) | 512 | line_stripname(char *dst, const char *src, int dstsize) |
513 | { | 513 | { |
514 | memset(dst, '\0', dstsize); | 514 | memset(dst, '\0', dstsize); |
515 | #ifdef sgi | ||
516 | if (strncmp(src, "/dev/tty", 8) == 0) | ||
517 | strlcpy(dst, src + 8, dstsize); | ||
518 | #else | ||
519 | if (strncmp(src, "/dev/", 5) == 0) | 515 | if (strncmp(src, "/dev/", 5) == 0) |
520 | strlcpy(dst, src + 5, dstsize); | 516 | strlcpy(dst, src + 5, dstsize); |
521 | #endif | ||
522 | else | 517 | else |
523 | strlcpy(dst, src, dstsize); | 518 | strlcpy(dst, src, dstsize); |
524 | return dst; | 519 | return dst; |