[Issue 3342] TLS on dynamically loaded DLLs fails on Windows earlier than Vista

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 9 23:11:11 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3342



--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2010-03-09 23:11:09 PST ---
I've been looking at the patch, it's an impressive piece of work!

But I'd like it to detect the Windows version, and not do anything if it is
Vista or newer, as those systems don't have the TLS bug. If we don't do this
check, since the patch relies on undocumented ntdll internals, D apps are
vulnerable to breaking with Windows updates.

Also, skywing has some code to deal with this at
http://www.nynaeve.net/Code/VistaImplicitTls.cpp

Can you check it to see if anything was missed?

Thanks!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list