On Fri, Jan 17, 2003 at 08:40:30PM -0500, John Wehle wrote:
wine photoed reports it can't find GIFIMP32.FLT (and friends) which prevents images from being imported. The trace is:
trace:dosfs:DOSFS_GetFullName L"C:\PROGRA~1\COMMON~1\MICROS~1\GRPHFLT\GIFIM P32.FLT" (last=0) trace:dosfs:DOSFS_FindUnixName /dos,L"PROGRA~1\COMMON~1\MICROS~1\GRPHFLT\GIF IMP32.FLT" trace:dosfs:DOSFS_ToDosFCBFormat (L"PROGRA~1\COMMON~1\MICROS~1\GRPHFLT\GIFIM P32.FLT", df621770) trace:dosfs:DOSFS_OpenDir "/dos" ... trace:dosfs:DOSFS_ReadDir Read: long_name: L"Program Files", short_name: (null) trace:dosfs:DOSFS_FindUnixName checking L"PROGRA~1 " L"PROG~FBU "
What happens is DOSFS_Hash hashes "Program Files" in an unexpected fashion which prevents DOSFS_FindUnixName from realizing it matches ""PROGRA~1 ".
The enclosed * hack * allows wine photoed to load images. It is * not * the correct answer. One possible approach is to modify DOSFS_OpenDir_Normal to generate "proper" short names after it has read all the directory entries.
The proper idea is to install the program using WINE too, so you get the same hashes into the registry.
Your hack will not work if 2 files hash to the same value.
Ciao, Marcus