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

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 16 18:24:21 CST 2007


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





--- Comment #4 from Dan Kegel <dank at kegel.com>  2007-11-16 18:24:21 ---
Ah, sorry, your test case in comment #2 is buggy.
You failed to export your shell variables.
The result you see is fully expected.
Try instead

#!/bin/sh
GATEWAY_INTERFACE="CGI/1.1"
REQUEST_METHOD=GET
REDIRECT_STATUS=200
PATH_TRANSLATED="C:\\php\\1.php"
export GATEWAY_INTERFACE REQUEST_METHOD REDIRECT_STATUS PATH_TRANSLATED
./php-cgi.exe


-- 
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