setenv(), unsetenv() and '=' in name argument
Michael T Kerrisk
mtk-lists@gmx.net
Wed Jun 9 14:53:00 GMT 2004
> The SUSv3 specification for setenv() and unsetenv() stipulates that
> the name argument to setenv() and unsetenv() may not contain an '='
> character -- the error EINVAL should result. However, as currently
> implemented glibc permits an '=' for name in both of these functions.
Bother! Part of that sentence was rubbish! glibc's unsetenv()
correctly fails if name contains '='; however, setenv() is indeed
broken;
Cheers,
Michael
--
Michael Kerrisk
mtk-lists@gmx.net
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
More information about the Libc-alpha
mailing list