[Bug 15883] misinterpreting windows paths as unix paths causes compilation failure in Qb64 (mingw)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 16 00:24:53 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=15883





--- Comment #6 from Jeff Zaroyko <jeffz at jeffz.name>  2009-03-16 00:24:52 ---
The proper interpretation of /unix/style/paths should be that the current drive
is searched for the appropriate path, 

eg, if the current drive is C: then c:\unix\style\paths
as opposed to the current behavior which is to always use Z:\

#include <windows.h>
#include <stdio.h>
int main(void)
{
  return printf("%x\n", GetFileAttributesA("/bin/sh"));
}

i586-mingw32msvc-gcc gfa.c -o gfa.exe
~/git/wine/wine cmd
c:
gfa should print ffffffff, since there is no c:\bin\sh

On windows, it will print ffffffff and then 0x20 once you mkdir c:\bin, type >
c:\bin\sh


-- 
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