https://bugs.winehq.org/show_bug.cgi?id=46784
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #1 from Damjan Jovanovic damjan.jov@gmail.com --- Wine 4.12.1
$ ls -la total 120 drwxr-xr-x 2 user user 7 Jul 13 08:13 . drwxr-xr-x 18 user user 31 Jul 13 07:28 .. -rw-r--r-- 1 user user 0 Jul 13 08:13 .js -rw-r--r-- 1 user user 0 Jul 13 07:58 a.js -rw-r--r-- 1 user user 0 Jul 13 07:58 b.json -rw-r--r-- 1 user user 343 Jul 13 08:04 scan.c -rwxr-xr-x 1 user user 95232 Jul 13 08:07 scan.exe
$ wine scan.exe '*.js' a.js
(.js and b.json don't match)
$ cat scan.c #include <windows.h> #include <stdio.h>
int main(int argc, char **argv) { HANDLE hFind; WIN32_FIND_DATA data;
hFind = FindFirstFileA(argv[1], &data);
if (hFind != INVALID_HANDLE_VALUE) { do { printf("%s\n", data.cFileName); } while (FindNextFile(hFind, &data)); FindClose(hFind); } }
The problem you described cannot be reproduced (any more?). If this is still a problem for you, please provide further info: filesystem used, exact directory contents, pattern used, etc.