https://bugs.winehq.org/show_bug.cgi?id=37372
Bug ID: 37372 Summary: Unexpected order of results in wildcard expansion Product: Wine Version: 1.7.28 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andreas@grapentin.org
in cmd.exe, execute the following statement:
for %f in (*) do echo %f
On windows, you expect the files to be listed in lexicographically ascending order, and some applications rely on that behaviour, one example being the Gothic2 Modkit during Script parsing. However, the order when executing this through wine seems random.
https://bugs.winehq.org/show_bug.cgi?id=37372
andreas@grapentin.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas@grapentin.org
https://bugs.winehq.org/show_bug.cgi?id=37372
--- Comment #1 from Janne janne.kekkonen@gmail.com --- Created attachment 77731 --> https://bugs.winehq.org/attachment.cgi?id=77731 screenshot of file listing
Tested with wine 9.00. Files seem to be in ascending order.
https://bugs.winehq.org/show_bug.cgi?id=37372
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |dark.shadow4@web.de Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- FWIW, Win7 seems to sorts the files by creation date, while win10 sorts them by name. Wine sorts them by name, same as Win10, so this bug seems fixed.
https://bugs.winehq.org/show_bug.cgi?id=37372
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc4.