[Bug 21505] New: cmd returns %ProgramFiles% with newline character

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 27 01:47:53 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21505

           Summary: cmd returns %ProgramFiles% with newline character
           Product: Wine
           Version: 1.1.36
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P2
         Component: cmd
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: lukasz.wojnilowicz at gmail.com


The problem is that Wine 1.1.36 returns ProgramFiles variable with newline
character at the end. This is an regression because in Wine 1.1.35 ProgramFiles
variable hadn't been returned with newline character at the end. I used script
below to test it.

#!/bin/bash
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
echo "PreviousText_ $PROGRAMFILES _NextText" >& output.txt

1) In Wine 1.1.35 output.txt looks like

PreviousText_ C:/Program Files _NextText


2) In Wine 1.1.36 output.txt looks like

PreviousText_ C:/Program Files
 _NextText


I tested this behaviour also in MS Windows XP SP3 and It's like in Wine 1.1.35

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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