check for loss of data on decoding

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29887 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-03-09 10:09:01 +00:00
parent 15d72232b5
commit b9070bdab8
2 changed files with 173 additions and 118 deletions

View file

@ -318,7 +318,7 @@ NSSetUncaughtExceptionHandler(NSUncaughtExceptionHandler *handler);
It is illegal to exit the first block of code by any other means than
NS_VALRETURN, NS_VOIDRETURN, or just falling out the bottom.
*/
#ifdef _NATIVE_OBJC_EXCEPTIONS
#if defined(_NATIVE_OBJC_EXCEPTIONS)
# define NS_DURING @try {
# define NS_HANDLER } @catch (NSException * localException) {