[Mono-dev] [PATCH] io-layer get_module_name patch

Bill Holmes billholmes54 at gmail.com
Thu Dec 18 17:38:19 EST 2008


Hi,

In the get_module_name method the size argument is used as a byte
count but the callers consider it a character count.

See http://msdn.microsoft.com/en-us/library/ms683196(VS.85).aspx

This patch corrects that inconsistency.

Thanks
-bill

2008-12-18  Bill Holmes  <billholmes54 at gmail.com>

	* processes.c (get_module_name) : adjust size for unicode characters.

	Code is contributed under MIT/X11 license.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_module_name.patch
Type: text/x-diff
Size: 945 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081218/0055276b/attachment.bin 


More information about the Mono-devel-list mailing list