about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-02 21:16:39 +0000
committerRoland McGrath <roland@gnu.org>2002-08-02 21:16:39 +0000
commit8102f4f96efb6f072d98b49089d3c1bfb6386a6e (patch)
tree0af40a28a357a6dc745892645f9baf45743b4829 /posix
parent8fe0477142bdc02285603e2a7a65b7d2fc230f75 (diff)
downloadglibc-8102f4f96efb6f072d98b49089d3c1bfb6386a6e.tar.gz
glibc-8102f4f96efb6f072d98b49089d3c1bfb6386a6e.tar.xz
glibc-8102f4f96efb6f072d98b49089d3c1bfb6386a6e.zip
* 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.
Diffstat (limited to 'posix')
-rw-r--r--posix/bits/posix1_lim.h4
1 files changed, 2 insertions, 2 deletions
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