https://bugs.winehq.org/show_bug.cgi?id=41231
Bug ID: 41231 Summary: regedit no longer processes registry input from stdin using "-" as filename Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: zakarjor@yahoo.com Distribution: ---
regedit since around 1.9.17 no longer processes registry input from stdin:
Steps to reproduce: 1. run command from shell: regedit - 2. add appropriate registry input lines in stdin and end with Ctrl-D
Expected: the registry entry should be added in registry (use regedit GUI to view) Actual: No change in registry
This looks like a regression after commit 256290f "regedit: Parse command-line input using Unicode". In regedit.c PerformRegAction(), after testing if "-" and setting reg_file=stdin, it skips over "else" statement and just reaches break statement without calling import_registry_file().