mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
add workaround for buggy solaris systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30887 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
26f5110852
commit
9a8cb3c0bb
2 changed files with 11 additions and 5 deletions
|
@ -1,17 +1,19 @@
|
||||||
<<<<<<< .mine
|
2010-06-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSKeyedUnarchiver.m: Workaround for buggy inttypes.h on older
|
||||||
|
Solaris systems.
|
||||||
|
|
||||||
2010-06-28 Richard Frith-Macdonald <rfm@gnu.org>
|
2010-06-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSSet.m: Fix incorrect return value in NSMutableSet's
|
* Source/NSSet.m: Fix incorrect return value in NSMutableSet's
|
||||||
-classForCoder method.
|
-classForCoder method.
|
||||||
|
|
||||||
=======
|
|
||||||
2010-06-28 Quentin Mathe <quentin.mathe@gmail.com>
|
2010-06-28 Quentin Mathe <quentin.mathe@gmail.com>
|
||||||
|
|
||||||
* Tools/autogsdoc.m: Improved to search for .m files among the
|
* Tools/autogsdoc.m: Improved to search for .m files among the
|
||||||
command-line arguments in addition to the current directory and
|
command-line arguments in addition to the current directory and
|
||||||
documentation directory.
|
documentation directory.
|
||||||
|
|
||||||
>>>>>>> .r30877
|
|
||||||
2010-06-26 Richard Frith-Macdonald <rfm@gnu.org>
|
2010-06-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSObject.m: Remove the Object(NSObjectCompat) category as the
|
* Source/NSObject.m: Remove the Object(NSObjectCompat) category as the
|
||||||
|
|
|
@ -509,8 +509,12 @@ static NSMapTable *globalClassMap = 0;
|
||||||
{
|
{
|
||||||
int64_t i = [self decodeInt64ForKey: aKey];
|
int64_t i = [self decodeInt64ForKey: aKey];
|
||||||
|
|
||||||
#if (INTPTR_MAX < INT64_MAX)
|
/* Older Solaris systems define INTPTR_MAX incorrectly ... so we use the
|
||||||
if (i > INTPTR_MAX || i < INTPTR_MIN)
|
* void pointer size we determined at configure time to decide whether
|
||||||
|
* we need to check for overflow.
|
||||||
|
*/
|
||||||
|
#if (GS_SIZEOF_VOIDP < 8)
|
||||||
|
if (i > INT32_MAX || i < INT32_MIN)
|
||||||
{
|
{
|
||||||
[NSException raise: NSRangeException
|
[NSException raise: NSRangeException
|
||||||
format: @"[%@ +%@]: value for key(%@) is out of range",
|
format: @"[%@ +%@]: value for key(%@) is out of range",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue