[version/info.c] Start of conversion fixes (RESEND)
paul.vriens at xs4all.nl
Mon Aug 29 06:53:40 CDT 2005
Anything wrong with this one? If not, how do you want me to proceed with
this? This patch only reserves extra space (with corresponding test).
this patch makes sure that enough space is reserved for the structure. The
patch is based on testing on W2K/XP/W2K3, and this is where the
calculations come from. The extra space is needed for conversion needs.
VerQueryValueA put's ANSI strings (converted from UNICODE if 32bits) into
this area, VerQueryValueW put's UNICODE strings (converted from ANSI if
16bits) into this area. The '#if 0' are there, cause I still haven't
figured how to get rid of the warnings. If warnings would have been
acceptable the patch would make sure that the conversion are indeed placed
in the extra space (instead of in the structure as it is right now).
Reserve extra space for conversions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8135 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050829/5e33d492/info_latest.bin
More information about the wine-patches