Skip to content

Commit

Permalink
* posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX.
Browse files Browse the repository at this point in the history
	On 32-bit platforms they are the same; on 64-bit platforms ssize_t
	matches long int, not int.
  • Loading branch information
Roland McGrath committed Aug 2, 2002
1 parent 8fe0477 commit 8102f4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions posix/bits/posix1_lim.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -127,7 +127,7 @@


#ifndef SSIZE_MAX
# define SSIZE_MAX INT_MAX
# define SSIZE_MAX LONG_MAX
#endif


Expand Down

0 comments on commit 8102f4f

Please sign in to comment.