[haiku-bugs] Re: [Haiku] #6706: unsetenv("a") does not remove all settings of the environment variable "a"

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 10 Oct 2010 10:21:12 -0000

#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 axeld):

 Our env variable implementation is indeed not POSIX compatible, but that
 was actually by intention; the POSIX interface is just horrible
 (especially for things that use threading), and there were several apps
 that did not use it correctly in the first place. So unless you need to
 fix an actual problem (that causes application misbehaviour), I would
 leave the implementation as is.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6706#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: