https://bugs.winehq.org/show_bug.cgi?id=54928
Bug ID: 54928
Summary: exclamation mark ! in string missing if
EnableDelayedExpansion
Product: Wine
Version: 8.6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: huangqinjin(a)gmail.com
Distribution: ---
test.bat:
@echo off
set "BEFORE_DELAY=before!"
setlocal EnableDelayedExpansion
set "AFTER_DELAY=after^!"
echo !BEFORE_DELAY!
echo !AFTER_DELAY!
Output:
Window cmd:
before!
after!
Wine cmd:
before
after^
--
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.
https://bugs.winehq.org/show_bug.cgi?id=52092
Bug ID: 52092
Summary: game pass
Product: Wine
Version: 6.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: master.zion(a)gmail.com
Distribution: ---
Hi everyone...
it seems it is not possible to install the xbox application for PC using wine.
It would be useful to play Windows games from xbox game pass, and it will be
very useful on Steam deck.
it fails during the installation startup.
------
Unhandled Exception: 0024:fixme:ntdll:EtwEventRegister
({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 05E202EE, 00000000, 01EA96F4) stub.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'Windows.Foundation.UniversalApiContract, Version=7.0.0.0,
Culture=neutral, PublicKeyToken=null, ContentType=WindowsRunt
ime' or one of its dependencies. Module not found.
at XboxInstaller.App..ctor()
at XboxInstaller.App.Main()
------
https://www.xbox.com/en-IN/apps/xbox-app-for-pc
--
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.
https://bugs.winehq.org/show_bug.cgi?id=52544
Bug ID: 52544
Summary: %__APPDIR__% and %__CD__% variables support
Product: Wine
Version: 7.1
Hardware: x86-64
OS: Mac OS X
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fiendishx(a)gmail.com
I'm not able to easily update to 7.2 because I'm on a mac and am largely
dependent on https://github.com/Gcenx/homebrew-wine but I tested myself in Wine
6.0 and had a friend using Linux test in Wine 7.1, and it seems unlikely that
this was fixed in the 7.2 update.
It seems like the %__APPDIR__% and %__CD__% path variables don't work in Wine?
See the "undocumented" section of https://ss64.com/nt/syntax-variables.html
Example:
wine cmd.exe
echo %__APPDIR__% -> just prints "%__APPDIR__%"
On my windows machine, "echo %__APPDIR__%" prints "C:\Windows\SysWOW64\" or
"C:\Windows\system32\" depending on which version of cmd.exe (32/64 bit) was
invoked.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=54995
Bug ID: 54995
Summary: msys2: git clone fails with 'Socket operation on
non-socket'
Product: Wine
Version: 8.8
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winsock
Assignee: wine-bugs(a)winehq.org
Reporter: bernhardu(a)mailbox.org
Distribution: ---
git clone --mirror git://sourceware.org/git/newlib-cygwin.git msys2-runtime
Cloning into bare repository '.../msys2-runtime'
010c:fixme:winsock:addrinfo_flags_to_unix unhandled flags 0x80000
fatal: packet write failed: Socket operation on non-socket
--
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.
https://bugs.winehq.org/show_bug.cgi?id=50132
Bug ID: 50132
Summary: Command line: Incorrect behaviors in FOR () and IF ()
blocks
Product: Wine
Version: 5.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: Psycho-A(a)yandex.ru
Distribution: ---
The native CMD.exe contains many syntax and other errors related to the FOR and
IF commands processing inside of ()-blocks. This is very importans for apps
that require complex batch scripts on run. Let's begin.
Case 1:
-------
Different behavior when using brackets after "DO"
:: Returns ")" error:
for %%a in (*.txt) do if #==# (
echo File: "%%~a"
)
:: Works normal:
for %%a in (*.txt) do (if #==# (
echo File: "%%~a"
))
:: Works normal:
for %%a in (*.txt) do if #==# echo File: "%%~a"
In Windows CMD all three results works the same (returns ECHO text).
Case 2:
-------
Reading empty lines of text file if EOL=# specified
:: ECHO will return "" text here:
for /f "usebackq eol=: tokens=1" %%a in ("File.txt") do (
echo "%%~a"
)
Windows CMD skips empty lines anyway.
Case 3:
-------
Error behavior if an empty line with Space ot Tab is defined in body
:: Will return ")" error:
if #==# (
echo Some text
)
:: Just will show ECHO text:
if #==# (
echo Some text
)
Case 4:
-------
Not-expanding variables from parent cycle child one
:: Will show "%~m" in child cycles:
for %%f in (*.txt) do (
echo In parent cycle: "%%~f"
for %%x in ("%%~f") do (
echo In child cycle: "%%~x"
)
)
:: Will seek in "%~f" dir instead of "Folder1":
for %%f in ("Folder1") do (
for /r "%%~f" %%x in (*.txt) do (
echo "%%~x"
)
)
Windows CMD expands "%%f" in any child cycle's place.
Case 5:
-------
Error if no quotes in file/command condition
:: Returns "DO is not an application" error:
for /f %%a in (File.txt) do (
echo "%%~a"
)
:: Reads strings of File.txt:
for /f "usebackq" %%a in ("File.txt") do (
echo "%%~a"
)
Windows CMD reads file in both cases
("usebackq" uses to use quotes around filename).
This error appears only when target file not found.
Case 6:
-------
Using global ">" redirection after ()-body issue:
:: Will show ECHO text and create empty Test.bug
if #==# (
echo Text 1...
echo Text 2...
)> "Test.bug"
:: Will write Test.bug with echo text (normal case)
if #==# (
echo Text 1...> "Test.bug"
echo Text 2...> "Test.bug"
)
Windows CMD does the same as second in both cases.
Case 7:
-------
Incorrect IF() ELSE() processing if FOR() inside
:: Returns "ELSE is not an application" error:
if #==# (
echo IF condition.
for %%m in (*.txt) do (
echo FOR cycle.
)
) else (
echo ELSE condition.
)
:: Works normally:
if #==# (
echo IF condition.
) else (
echo ELSE condition.
)
Also ELSE works normal when IF condition is NOT equal.
Case 8:
-------
No processing file mask if it's quoted
:: Returns txt files that found:
for %%f in (*.txt) do (
echo "%%~f"
)
:: Returns nothing
for %%f in ("*.txt") do (echo "%%~f")
for %%f in ("Dir\*.txt") do (echo "%%~f")
The same is if FOR with /R key is used.
For now that's all I found.
Some of Wine 4.x bugs I knew seems to be fixed already.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=47486
Bug ID: 47486
Summary: GsView draws one menu item with white background
Product: Wine
Version: 4.11
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: dark.shadow4(a)web.de
Distribution: ---
Created attachment 64866
--> https://bugs.winehq.org/attachment.cgi?id=64866
Screenshot on wine
See screenshot.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=52484
Bug ID: 52484
Summary: ShaderGlass crashes on startup
Product: Wine
Version: 7.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jeffz(a)jeffz.name
Distribution: ---
$ wine ShaderGlass.exe
007c:fixme:imm:ImeSetActiveContext (0x3e020, 0): stub
007c:fixme:imm:ImmReleaseContext (0000000000010020, 000000000003E020): stub
002c:fixme:imm:ImeSetActiveContext (0x412a0, 1): stub
002c:fixme:imm:ImmReleaseContext (000000000001004A, 00000000000412A0): stub
wine: configuration in L"/home/jeffz/.wine-shaderglass" has been updated.
0130:fixme:combase:RoGetActivationFactory
(L"Windows.Foundation.Metadata.ApiInformation",
{997439fe-f681-4a11-b416-c13a47e8ba36}, 000000000011F6F0): semi-stub
0130:err:combase:RoGetActivationFactory Failed to find library for
L"Windows.Foundation.Metadata.ApiInformation"
0130:fixme:combase:RoOriginateLanguageException (80040154 L"" 0000000000000000)
stub
0130:fixme:imm:ImeSetActiveContext (0x165ac0, 1): stub
0130:fixme:imm:ImmReleaseContext (0000000000050056, 0000000000165AC0): stub
wine: Unhandled exception 0x80000003 in thread 130 at address 00000001700574C4
(thread 0130), starting debugger...
0138:fixme:imm:ImeSetActiveContext (0x34f00, 1): stub
0138:fixme:imm:ImmReleaseContext (0000000000060072, 0000000000034F00): stub
RtlDefaultNpAcl () at Z:\usr\src\packages\BUILD\dlls\ntdll\sec.c:1731
0x00000001700574c4 ntdll+0x574c4
[Z:\usr\src\packages\BUILD\dlls\ntdll\sec.c:1731]: int $3
Unable to access file 'Z:\usr\src\packages\BUILD\dlls\ntdll\sec.c'
System information:
Wine build: wine-7.1
Platform: x86_64
Version: Windows 7
Host system: Linux
Host version: 5.13.0-27-generic
--
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.
https://bugs.winehq.org/show_bug.cgi?id=50876
Bug ID: 50876
Summary: Sid Meier's SimGolf does not render properly
Product: Wine
Version: 6.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: haakobja(a)gmail.com
Distribution: ---
Created attachment 69686
--> https://bugs.winehq.org/attachment.cgi?id=69686
Screenshot of the bug
The terrain in SimGolf is not rendering properly. I've attached a screenshot
and a trace log, however I'm not certain where this problem occur, but it's
probably a rendering problem.
I didn't get anything when using the following debug channels:
+ddraw,+d2d,+d3d. In the attached log, I've used
+all,-relay,-dsound,-heap,-pulse,-sync, which might provide a log with too much
information.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=47071
Bug ID: 47071
Summary: Nest or mixed "FOR" and "IF" command sometimes get
different result in Wine and Windows.
Product: Wine
Version: 3.0
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: mzidbh(a)hotmail.com
Distribution: ---
Created attachment 64257
--> https://bugs.winehq.org/attachment.cgi?id=64257
batch files and snapshots of execution result
The Wine's command interpreter seems to ...
1. could not pair "IF" and "ELSE" correctly. ( Case 1 4 )
2. would ignore scripts after inner "ELSE". ( Case 2 3 )
Case 1
========================================
@ECHO OFF
ECHO FOR in IF 01 :
IF 1 EQU 1 (
FOR %%A IN (1,1) DO (
ECHO A=%%A
)
) ELSE (
ECHO This line should NOT be executed.
)
ECHO This line should be executed.
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
FOR in IF 01 :
A=1
A=1
Can't recognize 'ELSE ' as an internal or external command, or batch script.
This line should NOT be executed.
This line should be executed.
----------------------------------------
Result in Windows 7
----------------------------------------
FOR in IF 01 :
A=1
A=1
This line should be executed.
========================================
Case 2
========================================
@ECHO OFF
ECHO IF in FOR 01 :
FOR %%A IN (1,1) DO (
IF 1 EQU 1 (
ECHO This line should be executed. [No.1]
) ELSE (
ECHO This line should NOT be executed.
)
ECHO This line should be executed. [No.2]
)
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
IF in FOR 01 :
This line should be executed. [No.1]
This line should be executed. [No.1]
----------------------------------------
Result in Windows 7
----------------------------------------
IF in FOR 01 :
This line should be executed. [No.1]
This line should be executed. [No.2]
This line should be executed. [No.1]
This line should be executed. [No.2]
========================================
Case 3
========================================
@ECHO OFF
ECHO IF in IF 01 :
IF 1 EQU 1 (
IF 1 EQU 1 (
ECHO This line should be executed. [No.1]
) ELSE (
ECHO This line should NOT be executed. [No.1]
)
ECHO This line should be executed. [No.2]
) ELSE (
ECHO This line should NOT be executed. [No.2]
)
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
IF in IF 01 :
This line should be executed. [No.1]
----------------------------------------
Result in Windows 7
----------------------------------------
IF in IF 01 :
This line should be executed. [No.1]
This line should be executed. [No.2]
========================================
Case 4
========================================
@ECHO OFF
ECHO IF in IF 04 :
IF 4 EQU 4 (
IF 4 EQU 5 CALL :Label1
ECHO This line should be executed. [No.1]
) ELSE (
ECHO This line should NOT be executed. [No.2]
)
GOTO :Label2
:Label1
ECHO This line should NOT be executed. [No.1]
GOTO :EOF
:Label2
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
IF in IF 04 :
This line should NOT be executed. [No.2]
----------------------------------------
Result in Windows 7
----------------------------------------
IF in IF 04 :
This line should be executed. [No.1]
========================================
--
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.