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.