summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-12-29 21:21:26 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-12-29 21:21:26 +0000
commitbeac3b434110265fe46b798ed3be5cb01e4530ee (patch)
tree66023e1629078b0065b5376153c9a30f47504cbf
parent0a8397e00c3fde74555f4f02cc08a0b557312e12 (diff)
- (bal) if no MAXHOSTNAMELEN is defined. Default to 64 character defination.
Suggested by Christian Kurz <shorty@debain.org>
-rw-r--r--ChangeLog2
-rw-r--r--defines.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a85ee6e5d..94412d5f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
4 [ssh-keygen.c] 4 [ssh-keygen.c]
5 enable 'ssh-keygen -l -f ~/.ssh/{authorized_keys,known_hosts}{,2} 5 enable 'ssh-keygen -l -f ~/.ssh/{authorized_keys,known_hosts}{,2}
6 - (bal) Resynced CVS ID with OpenBSD for channel.c and uidswap.c 6 - (bal) Resynced CVS ID with OpenBSD for channel.c and uidswap.c
7 - (bal) if no MAXHOSTNAMELEN is defined. Default to 64 character defination.
8 Suggested by Christian Kurz <shorty@debain.org>
7 9
820001229 1020001229
9 - (bal) Fixed spelling of 'authorized_keys' in ssh-copy-id.1 by Christian 11 - (bal) Fixed spelling of 'authorized_keys' in ssh-copy-id.1 by Christian
diff --git a/defines.h b/defines.h
index 4c3941cad..9460905a3 100644
--- a/defines.h
+++ b/defines.h
@@ -78,6 +78,10 @@ enum
78# endif /* PATH_MAX */ 78# endif /* PATH_MAX */
79#endif /* MAXPATHLEN */ 79#endif /* MAXPATHLEN */
80 80
81#ifndef MAXHOSTNAMELEN
82# define MAXHOSTNAMELEN 64
83#endif /* MAXHOSTNAMELEN */
84
81#ifndef STDIN_FILENO 85#ifndef STDIN_FILENO
82# define STDIN_FILENO 0 86# define STDIN_FILENO 0
83#endif 87#endif