http://bugs.winehq.org/show_bug.cgi?id=24233
Summary: MS Paint uses garbage instead of "untitled" as the default file name Product: Wine Version: 1.3.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: piotr.caban@gmail.com
Steps to reproduce:
1. Install with 'winetricks mspaint' 2. Run 'wine mspaint' 3. Click file -> save as...
In git, the preselected file name will be random garbage instead of the expected "untitled". In 1.3.1, it was displayed correctly. My regression test indicated:
899d9a042b18a511aecd92dba72084e6d63cc28d is the first bad commit commit 899d9a042b18a511aecd92dba72084e6d63cc28d Author: Piotr Caban piotr@codeweavers.com Date: Sun Aug 29 16:59:35 2010 +0200
msvcrt: Added _splitpath_s implementation.
:040000 040000 3b46967aa0ed29364c74558026e65b0c9e71b4bb 9f7fe5bf7a4df8d512004b5c3e9269fc6941e37f M dlls
Reverting that patch makes the problem go away. The program doesn't generate any terminal output.