mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00: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:
parent
8fe0477142
commit
8102f4f96e
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user