From 8102f4f96efb6f072d98b49089d3c1bfb6386a6e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 Aug 2002 21:16:39 +0000 Subject: * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. On 32-bit platforms they are the same; on 64-bit platforms ssize_t matches long int, not int. --- ChangeLog | 4 ++++ posix/bits/posix1_lim.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e5e61acb69..72c893b89c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2002-08-02 Roland McGrath + * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. + On 32-bit platforms they are the same; on 64-bit platforms ssize_t + matches long int, not int. + * locale/localeinfo.h (_NL_CURRENT_DATA): New macro. * wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. diff --git a/posix/bits/posix1_lim.h b/posix/bits/posix1_lim.h index e16f4674dd..050fe47fdb 100644 --- a/posix/bits/posix1_lim.h +++ b/posix/bits/posix1_lim.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,93,96,98,2000,2001 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,96,98,2000,01,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -127,7 +127,7 @@ #ifndef SSIZE_MAX -# define SSIZE_MAX INT_MAX +# define SSIZE_MAX LONG_MAX #endif -- cgit v1.2.3