http://bugs.winehq.org/show_bug.cgi?id=35772
Bug ID: 35772 Summary: WinUAE can't rename file when new name is same except different case Product: Wine Version: 1.7.14 Hardware: x86-64 URL: http://www.winuae.net/files/InstallWinUAE2700.msi OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: markk@clara.co.uk
Created attachment 47765 --> http://bugs.winehq.org/attachment.cgi?id=47765 Test archive with WinUAE config to demonstrate problem, unpack to C:\
This bug applies to the WinUAE Amiga emulator.
Attempting to rename a file in a shared folder, where the new name is the same except for differing case, fails.
To reproduce: - Create a new Wineprefix directory - The attached archive contains a WinUAE configuration file and a share_test directory. Unpack the archive to C:\ - Download the WinUAE MSI installer from http://www.winuae.net/files/InstallWinUAE2700.msi - Install WinUAE by doing wine start InstallWinUAE2700.msi - Run WinUAE, specifiying the -log argument: wine winuae.exe -log - When the main window opens click Configurations in the left pane then "Load From...". Select C:\Rename_test.uae - Click Start to start emulation. The emulation window opens and after a couple of seconds a window appears in it with a 1> command prompt. You can type Dir or List to show a listing of the files. One of the files is named testfile - Try renaming testfile to TeSTfile by doing 1> Rename testfile TeSTfile Can't rename testfile as TeSTfile
WinUAE's log output reads: rename 'C:\share_test\testfile' -> 'C:\share_test\TeSTfile' failed, trying relocking..
It is possible to change a file's case by renaming it via another name, like this: Rename testfile tempname Rename tempname TeSTfile
http://bugs.winehq.org/show_bug.cgi?id=35772
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |markk@clara.co.uk
http://bugs.winehq.org/show_bug.cgi?id=35772
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- I'm sure I have seen a bug like this before, this is possibly a duplicate. I'll look for the other bug.
http://bugs.winehq.org/show_bug.cgi?id=35772
--- Comment #2 from Mark K markk@clara.co.uk --- Looks like you're right. I did some searching and came up with bug 14901 and bug 27084.
http://bugs.winehq.org/show_bug.cgi?id=35772
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #3 from Mark K markk@clara.co.uk --- Resolving as a duplicate of bug 14901.
*** This bug has been marked as a duplicate of bug 14901 ***
https://bugs.winehq.org/show_bug.cgi?id=35772
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as duplicate.