https://bugs.winehq.org/show_bug.cgi?id=57795
Bug ID: 57795 Summary: cmd lacks support for right-to-left handle redirection (2<&1) Product: Wine Version: unspecified Hardware: x86-64 URL: https://github.com/curl/curl OS: FreeBSD Status: NEW Keywords: source Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: damjan.jov@gmail.com
When compiling the Windows version of Curl from Wine + MS Platform SDK, the build breaks when copying the binaries to destination directories, because in https://github.com/curl/curl/blob/2ed232a4e66c7ecb75f1b7fc7623da967857ef04/w... (and other places) it does this:
@if exist $(LIB_DIROBJ)$(LIB_NAME_DLL) copy $(LIB_DIROBJ)$(LIB_NAME_DLL) $(DIRDIST)\bin\ /y >nul 2<&1
That "2<&1" at the end of the line breaks it. Wine's cmd only supports redirections in the opposite direction, like "1>&2".
I am working on a patch.
https://bugs.winehq.org/show_bug.cgi?id=57795
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Damjan Jovanovic damjan.jov@gmail.com --- Merge request is at https://gitlab.winehq.org/wine/wine/-/merge_requests/7252
https://bugs.winehq.org/show_bug.cgi?id=57795
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |b5dbdb69d19d8e44c9ab2fed8f3 | |49fa75c3ad713 Version|unspecified |10.1 Status|NEW |RESOLVED
--- Comment #2 from Damjan Jovanovic damjan.jov@gmail.com --- Fixed by commit b5dbdb69d19d8e44c9ab2fed8f349fa75c3ad713 - resolving fixed.
https://bugs.winehq.org/show_bug.cgi?id=57795
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.2.