[exim-dev] [Bug 1578] Solaris 8 build with TLS failed due to…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 1578] Solaris 8 build with TLS failed due to undefined setenv/unsetenv
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1578

Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pdp@???                |jgh146exb@???





--- Comment #1 from Phil Pennock <pdp@???> 2015-01-27 00:08:41 ---
Appears to have been introduced with commit e9477a08 2014-11-10 with the
restore_tz() function for bug 1541 "Handle UTC vs specified-timezone for
certificate extractors".

SUSv4 text for "setenv" says "First released in Issue 6. Derived from the IEEE
P1003.1a draft standard."

There's a minor robustness problem with the current code, since I don't _think_
unsetenv() is guaranteed to remove _all_ instances of a given environment
variable name from environ; the FreeBSD unsetenv(3) documents that it does so,
the Linux man-pages document does not, SUSv4 does not. So starting Exim with
["TZ=a", "TZ=b"] may result in unsetenv not entirely removing TZ as expected.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email