From: Joseph Myers Date: Wed, 7 Nov 2012 19:41:38 +0000 (+0000) Subject: conformtest: Fix setenv / unsetenv expectations. X-Git-Tag: upstream/2.20~2992 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbe6e12006557983c2aa00190d25c30330b8b2bf;p=platform%2Fupstream%2Flinaro-glibc.git conformtest: Fix setenv / unsetenv expectations. --- diff --git a/ChangeLog b/ChangeLog index 78ce23d..379daee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-11-07 Joseph Myers + * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do + not expect. + [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise. + * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan): Change function return type to int. diff --git a/conform/data/stdlib.h-data b/conform/data/stdlib.h-data index 0b8dc3d..382fff6 100644 --- a/conform/data/stdlib.h-data +++ b/conform/data/stdlib.h-data @@ -138,7 +138,7 @@ function {void*} realloc (void*, size_t) function {char*} realpath (const char*, char*) function {unsigned short int*} seed48 (unsigned short int[3]) #endif -#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX +#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98 function int setenv (const char*, const char*, int) #endif #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 @@ -168,7 +168,7 @@ function int ttyslot (void) #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 function int unlockpt (int) #endif -#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX +#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98 function int unsetenv (const char*) #endif #if defined XPG3 || defined XPG4 || defined UNIX98