[Bug 8924] values returned by getenv() are not persistent!

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 16 17:05:48 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=8924





--- Comment #3 from jvlad <dmda at yandex.ru>  2007-11-16 17:05:47 ---
no, it's not a failed attempt, it's not an attempt, it's a code excerpt from
official php sources and demonstrate how they work with getenv/setenv since
early 2000 and once they rely on a non-documented behaviour of msvcrt library,
I'd highly recommend you to check if Wine can follow.

comment#2 is a real-world testcase to demonstrate the problem with php win32
binaries. If you do not know what php is, please check www.php.net site.

Finally, no documents said that pointers returned with getenv() are
non-persistent and once it happens that they are persistent under Win32 and
there are applications relying on this behaviour, I see no reasons to consider
this bug report as an invalid.

-jv


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list