[Bug 22635] New: FindFileFirst should ignore some chars
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun May 9 02:42:19 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=22635
Summary: FindFileFirst should ignore some chars
Product: Wine
Version: 1.1.44
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs at winehq.org
ReportedBy: plr.vincent at gmail.com
When FindFileFirst is called with such path (c-style notation):
"C:\\Program Files/>"
it should match
"C:\\Program Files"
A test for this is in the works (first attempt:
http://www.winehq.org/pipermail/wine-devel/2010-May/083434.html ) and this
behavior was confirmed on winxp and win2k.
This has been discovered while investigating the problem of Earth 2160 packaged
by GOG.com:
The installer ciphers the cd key to put it in the registry (as GOG doesn't
provide different keys for each user, the installer contains one):
HKCU\Software\Reality Pump\Earth2160\SerialKey\SerialKey. One of the components
used for this is the creation time of the Earth 2160 installation directory.
It looks up the path of that directory using another registry key created
during the install: HKLM\Software\Reality Pump\Earth2160\FileSystem\DataPath .
This key contains that path with a trailing "/>", which seems to be present on
purpose (removing it makes the game fail very early when executed). The result
is that this path is not found after installation on wine, so the created
registry key is invalid when checked by the game.
Note that the problem is really only in the installer, as the parameter
received by FindFileFirst when game checks the key doesn't contain the trailing
"/>".
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list