09.10.2012 12:29, Jakob Ovrum пишет:
On Tuesday, 9 October 2012 at 08:41:46 UTC, Jakob Ovrum wrote:
On Monday, 8 October 2012 at 19:19:58 UTC, Denis Shelomovskij wrote:
As I said, give us a runnable failing test suite.

Here's a reduced plugin with VisualD project files and all dependencies.

http://filesmelt.com/dl/bugdist.rar

It uses the standard DllMain, and the only thing xchat_plugin_init
contains is this line:

xchat_printf(ph, "test = %p:%d", test.ptr, test.length);

Where 'test' is a TLS variable of type string[] with no explicit
initializer.

The printed garbage value is the same when DllMain is empty.

(BTW, to test this, build the DLL and drop it in <HexChat config
folder>/addons. The line will then print on startup in the first
available chat window)

In your `bugdist.rar` bug.dll is fully in this {c|t}rap:
http://d.puremagic.com/issues/show_bug.cgi?id=8130

And I have already mentioned it, but you answered "I am using a .def file".

--
Денис В. Шеломовский
Denis V. Shelomovskij

Reply via email to