[Bug 46784] Broken wildcard expansion in FindFirstFile() and FindNextFile( )
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jul 13 01:19:09 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=46784
Damjan Jovanovic <damjan.jov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |damjan.jov at gmail.com
Ever confirmed|0 |1
Status|UNCONFIRMED |NEEDINFO
--- Comment #1 from Damjan Jovanovic <damjan.jov at 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.
--
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