Piotr Caban (@piotr) commented about dlls/msvcrt/tests/file.c:
close (fd);
- fd = open ("fdopen.tst", O_RDONLY, _S_IREAD |_S_IWRITE);
- errno = 0xdeadbeef;
- ok(dup2(fd, -1) == -1, "dup2 succeeded on read-only file\n");
dup2 is failing because second argument is -1, not because it's a read-only file. ```suggestion:-0+0 ok(dup2(fd, -1) == -1, "dup2(fd, -1) succeeded\n"); ```