* 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.
This commit is contained in:
Roland McGrath 2002-08-02 21:16:39 +00:00
parent 8fe0477142
commit 8102f4f96e
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2002-08-02 Roland McGrath <roland@redhat.com>
* 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.

View File

@ -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