#6706: unsetenv("a") does not remove all settings of the environment variable "a" ------------------------+--------------------------------------------------- Reporter: scottmc | Owner: nobody Type: bug | Status: closed Priority: normal | Milestone: R1 Component: - General | Version: R1/alpha2 Resolution: fixed | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: ------------------------+--------------------------------------------------- Comment (by phoudoin): Seems that our putenv() implementation is not POSIX compliant : http://www.opengroup.org/onlinepubs/009695399/functions/putenv.html "the string pointed to by string shall become part of the environment, so altering the string shall change the environment. " We don't support that, as we always copy the string in src/system/libroot/posix/stdlib/env.cpp:update_variable(). -- Ticket URL: <http://dev.haiku-os.org/ticket/6706#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.