mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
* 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:
@@ -1,5 +1,9 @@
|
|||||||
2002-08-02 Roland McGrath <roland@redhat.com>
|
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.
|
* locale/localeinfo.h (_NL_CURRENT_DATA): New macro.
|
||||||
* wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it.
|
* wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it.
|
||||||
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
|
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
|
||||||
|
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef SSIZE_MAX
|
#ifndef SSIZE_MAX
|
||||||
# define SSIZE_MAX INT_MAX
|
# define SSIZE_MAX LONG_MAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user