+2007-11-01 Bruno Haible <bruno@clisp.org>
+
+ * lib/stdlib.in.h (putenv): Remove the "not POSIX compliant everywhere"
+ warning.
+ * doc/functions/putenv.texi: Clarify that the 'putenv' module is not
+ needed for POSIX compatibility.
+
2007-11-01 Paul Eggert <eggert@cs.ucla.edu>
* m4/putenv.m4 (gl_FUNC_PUTENV): Also mention that we're checking
POSIX specification: @url{http://www.opengroup.org/susv3xsh/putenv.html}
-Gnulib module: putenv
+Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
-@item
-This function fails to remove environment variables correctly on some old
-platforms:
-SunOS 4.1.4.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize
+
+Extension: Gnulib provides a module @samp{putenv} that substitutes a
+@code{putenv} implementation that can also be used to remove environment
+variables.
# define putenv rpl_putenv
extern int putenv (char *string);
# endif
-#elif defined GNULIB_POSIXCHECK
-# undef putenv
-# define putenv(s) \
- (GL_LINK_WARNING ("putenv is not POSIX compliant everywhere - " \
- "use gnulib module putenv for portability"), \
- putenv (s))
#endif