[Bug 24536] New: environ is NULL under Wine but not on real Windows
http://bugs.winehq.org/show_bug.cgi?id=24536 Summary: environ is NULL under Wine but not on real Windows Product: Wine Version: 1.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: simon(a)josefsson.org Running the program below prints NULL under Wine but non-NULL under real Windows. Thanks, Simon jas(a)mocca:~$ cat environ-wine.c #include <stdio.h> #include <stddef.h> #include <stdlib.h> int main (void) { if (environ == NULL) puts("NULL"); else puts("non-NULL"); return 0; } jas(a)mocca:~$ i686-w64-mingw32-gcc -o environ-wine.exe environ-wine.c jas(a)mocca:~$ wine ./environ-wine.exe NULL jas(a)mocca:~$ wine --version wine-1.2 jas(a)mocca:~$ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24536 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24536 --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-09-27 04:30:04 CDT --- What application is affected by this? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24536 --- Comment #2 from Simon Josefsson <simon(a)josefsson.org> 2010-09-27 04:39:26 CDT --- I noticed the problem when running the self tests that comes with GNU SASL. Two of the self tests actually comes from gnulib, and it tests whether environ/putenv is working properly. See more discussion at http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/23262 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24536 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #3 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-09-28 03:59:33 CDT --- I submitted a patch: http://source.winehq.org/patches/data/66546 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24536 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-09-30 11:37:23 CDT --- A modified version of the patch was committed as 285e6d249fded2a306a251550652c650f7bf81ba, so this should be fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24536 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2010-10-01 13:56:44 CDT --- Closing bugs fixed in 1.3.4. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=24536 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |285e6d249fded2a306a25155065 | |2c650f7bf81ba CC| |focht(a)gmx.net Component|-unknown |msvcrt -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org