http://bugs.winehq.org/show_bug.cgi?id=28189
Summary: regsvr32: No usage in wineconsole Product: Wine Version: 1.3.26 Platform: x86 OS/Version: All Status: NEW Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: fgouget@codeweavers.com
To reproduce this start the console with 'wine wineconsole cmd' and then type 'regsvr32 /?' in the wine console.
The usage will be displayed in the terminal in which you started the wineconsole instead of in wineconsole itself. This is because regsvr32 uses regular Unix stdio functions like printf() instead of WriteConsole().
See the XCOPY_wprintf() function in programs/xcopy/xcopy.c or the output_*() functions in programs/net/net.c for a model on how to fix this.
After fixing this, verify that running 'regsvr32 /?' still works fine in a regular xterm or equivalent.
(split off from bug 13861)
http://bugs.winehq.org/show_bug.cgi?id=28189
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source Priority|P2 |P3 Severity|normal |enhancement
http://bugs.winehq.org/show_bug.cgi?id=28189
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |other
http://bugs.winehq.org/show_bug.cgi?id=28189
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=28189
--- Comment #1 from Austin English austinenglish@gmail.com --- Still in wine-1.7.10-241-g6bd6193
http://bugs.winehq.org/show_bug.cgi?id=28189
--- Comment #2 from Hugh McMaster hugh.mcmaster@outlook.com --- Created attachment 47380 --> http://bugs.winehq.org/attachment.cgi?id=47380 A patch to fix this bug.
This patch replaces the printf() calls with the correct functionality to print messages to 'wineconsole cmd' or, if running 'wine regsvr32', to the xterm or equivalent.
http://bugs.winehq.org/show_bug.cgi?id=28189
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #47380|0 |1 is obsolete| |
--- Comment #3 from Hugh McMaster hugh.mcmaster@outlook.com --- Created attachment 47519 --> http://bugs.winehq.org/attachment.cgi?id=47519 Patch with unicode support
This patch replaces the printf() calls with the WriteConsoleW functionality to print messages to 'wineconsole cmd' or, if running 'wine regsvr32', to the xterm or equivalent.
This new version has full unicode support.
http://bugs.winehq.org/show_bug.cgi?id=28189
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=28189
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com
--- Comment #4 from Hugh McMaster hugh.mcmaster@outlook.com --- Fixed in 1.7.16 by http://source.winehq.org/git/wine.git/commit/412a4f13f676fe105d75da5d2b9b399....
https://bugs.winehq.org/show_bug.cgi?id=28189
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |412a4f13f676fe105d75da5d2b9 | |b399916c64f74 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Hugh McMaster from comment #4)
Fixed in 1.7.16 by http://source.winehq.org/git/wine.git/commit/ 412a4f13f676fe105d75da5d2b9b399916c64f74.
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=28189
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.46.