patch applied (packages/Win32): malloc a big enough buffer for the
registry functions. Fixes trac #2097.
Ian Lynagh
igloo at earth.li
Sun Apr 6 16:55:57 EDT 2008
Sun Apr 6 13:50:51 PDT 2008 Ian Lynagh <igloo at earth.li>
* malloc a big enough buffer for the registry functions. Fixes trac #2097.
We were mallocing a byte per tchar, but tchars are normally 2 bytes big...
I think they are at most 4 bytes, so we now malloc 4 * #tchars. Not sure
if there is a proper function I should be using for this?
M ./System/Win32/Registry.hsc -3 +8
View patch online:
http://darcs.haskell.org/packages/Win32/_darcs/patches/20080406205051-3fd76-d3fffd698c393dd56334cab6ab4697b696b67ed3.gz
More information about the Cvs-libraries
mailing list