http://bugs.winehq.org/show_bug.cgi?id=21292 Summary: system call "open" doesn't reject trailing slash in filenames Product: Wine Version: 1.0.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs(a)winehq.org ReportedBy: simon(a)josefsson.org Here is another test case that triggers gnulib self-tests failures under Wine but not under Windows XP. Under Wine it prints: out 3 but under Windows XP it prints: out -1 which is expected. Thanks, /Simon jas(a)mocca:~$ cat foo.c #include <fcntl.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdio.h> int main (void) { int fd = open ("nonexist.ent/", O_CREAT | O_RDONLY, 0600); printf ("out %d\n", fd); return 0; } jas(a)mocca:~$ i586-mingw32msvc-gcc -o foo.exe foo.c jas(a)mocca:~$ wine --version wine-1.0.1 jas(a)mocca:~$ wine ./foo.exe out 3 jas(a)mocca:~$ -- 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.