summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/fake-rfc2553.h10
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 04fa21d0f..c0c2dbc05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
2 - (dtucker) [openbsd-compat/fake-rfc2553.h] Check for EAI_* defines 2 - (dtucker) [openbsd-compat/fake-rfc2553.h] Check for EAI_* defines
3 individually and use a value less likely to collide with real values from 3 individually and use a value less likely to collide with real values from
4 netdb.h. Fixes compile warnings on FreeBSD 5.3. ok djm@ 4 netdb.h. Fixes compile warnings on FreeBSD 5.3. ok djm@
5 - (dtucker) [openbsd-compat/fake-rfc2553.h] MAX_INT -> INT_MAX since the
6 latter is specified in the standard.
5 7
620050802 820050802
7 - (dtucker) OpenBSD CVS Sync 9 - (dtucker) OpenBSD CVS Sync
@@ -2894,4 +2896,4 @@
2894 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2896 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2895 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2897 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2896 2898
2897$Id: ChangeLog,v 1.3861 2005/08/03 00:57:15 dtucker Exp $ 2899$Id: ChangeLog,v 1.3862 2005/08/03 05:36:21 dtucker Exp $
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index 24a34d17a..cbcf7f727 100644
--- a/openbsd-compat/fake-rfc2553.h
+++ b/openbsd-compat/fake-rfc2553.h
@@ -1,4 +1,4 @@
1/* $Id: fake-rfc2553.h,v 1.11 2005/08/03 00:57:15 dtucker Exp $ */ 1/* $Id: fake-rfc2553.h,v 1.12 2005/08/03 05:36:21 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (C) 2000-2003 Damien Miller. All rights reserved. 4 * Copyright (C) 2000-2003 Damien Miller. All rights reserved.
@@ -114,16 +114,16 @@ struct sockaddr_in6 {
114#endif /* !NI_MAXHOST */ 114#endif /* !NI_MAXHOST */
115 115
116#ifndef EAI_NODATA 116#ifndef EAI_NODATA
117# define EAI_NODATA (MAX_INT - 1) 117# define EAI_NODATA (INT_MAX - 1)
118#endif 118#endif
119#ifndef EAI_MEMORY 119#ifndef EAI_MEMORY
120# define EAI_MEMORY (MAX_INT - 2) 120# define EAI_MEMORY (INT_MAX - 2)
121#endif 121#endif
122#ifndef EAI_NONAME 122#ifndef EAI_NONAME
123# define EAI_NONAME (MAX_INT - 3) 123# define EAI_NONAME (INT_MAX - 3)
124#endif 124#endif
125#ifndef EAI_SYSTEM 125#ifndef EAI_SYSTEM
126# define EAI_SYSTEM (MAX_INT - 4) 126# define EAI_SYSTEM (INT_MAX - 4)
127#endif 127#endif
128 128
129#ifndef HAVE_STRUCT_ADDRINFO 129#ifndef HAVE_STRUCT_ADDRINFO