patch applied (ghc-6.8/packages/Win32): malloc a big enough buffer for the registry functions. Fixes trac #2097.

Ian Lynagh igloo at earth.li
Wed Apr 23 06:47:32 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


More information about the Cvs-libraries mailing list