libwine: Change __wine_main_environ into a function.

Ken Thomases ken at codeweavers.com
Mon Mar 30 08:21:18 CDT 2009


The value of 'environ' may change during the process lifetime, so taking a
one-time snapshot of it isn't correct.
---
  dlls/kernel32/process.c    |    2 +-
  dlls/winecrt0/dll_entry.c  |    2 +-
  dlls/winecrt0/drv_entry.c  |    2 +-
  dlls/winecrt0/exe_entry.c  |    2 +-
  dlls/winecrt0/exe_wentry.c |    2 +-
  include/wine/library.h     |    2 +-
  libs/wine/loader.c         |   13 +++++++++++--
  libs/wine/wine.def         |    2 +-
  libs/wine/wine.map         |    2 +-
  9 files changed, 19 insertions(+), 10 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: f6555cb0e7ab6e132e2d1d9177c963fbc222c055.diff
Type: text/x-patch
Size: 5771 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090330/3f295c19/attachment.bin>


More information about the wine-patches mailing list