summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-12-19 10:58:43 +1100
committerDarren Tucker <dtucker@zip.com.au>2003-12-19 10:58:43 +1100
commit3715be3cd3aab2bcf14a223c614f62c367730f67 (patch)
treeded28f6ef7096a1f3b8840b9d087d56bac28888f
parentc376c8647edb08fa1659882c4a96babedec94d18 (diff)
- (dtucker) [defines.h] Bug #458: Define SIZE_T_MAX as UINT_MAX if we
typedef size_t ourselves.
-rw-r--r--ChangeLog6
-rw-r--r--defines.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5727be82b..0cd1a31c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120031219
2 - (dtucker) [defines.h] Bug #458: Define SIZE_T_MAX as UINT_MAX if we
3 typedef size_t ourselves.
4
120031218 520031218
2 - (dtucker) [configure.ac] Don't use setre[ug]id on DG-UX, from Tom Orban. 6 - (dtucker) [configure.ac] Don't use setre[ug]id on DG-UX, from Tom Orban.
3 - (dtucker) [auth-pam.c] Do PAM chauthtok during SSH2 keyboard-interactive 7 - (dtucker) [auth-pam.c] Do PAM chauthtok during SSH2 keyboard-interactive
@@ -1612,4 +1616,4 @@
1612 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1616 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1613 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1617 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1614 1618
1615$Id: ChangeLog,v 1.3151 2003/12/18 04:34:31 dtucker Exp $ 1619$Id: ChangeLog,v 1.3152 2003/12/18 23:58:43 dtucker Exp $
diff --git a/defines.h b/defines.h
index 6d197c769..d84c378dc 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.105 2003/11/24 02:07:46 djm Exp $ */ 28/* $Id: defines.h,v 1.106 2003/12/18 23:58:43 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -240,6 +240,7 @@ typedef unsigned char u_char;
240#ifndef HAVE_SIZE_T 240#ifndef HAVE_SIZE_T
241typedef unsigned int size_t; 241typedef unsigned int size_t;
242# define HAVE_SIZE_T 242# define HAVE_SIZE_T
243# define SIZE_T_MAX UINT_MAX
243#endif /* HAVE_SIZE_T */ 244#endif /* HAVE_SIZE_T */
244 245
245#ifndef HAVE_SSIZE_T 246#ifndef HAVE_SSIZE_T