[CMD] Don't reset bCtrlBreak too early.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 28 Apr 2018 22:53:49 +0000 (00:53 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 28 Apr 2018 22:53:49 +0000 (00:53 +0200)
commita3b36f8d3ec420169ff5e7bde505ce3275ef1f9f
treeef21e61b3895a736e54e6b7a107de1c4cbc48471
parent6dd27bd46799b9f5ad71c06652fd69223ad077b0
[CMD] Don't reset bCtrlBreak too early.

This allows to break commands such as:

C:\ReactOS\system32> for %f in (*.*) do dir

as one would expect: stop the currently running 'dir' and the 'for'.
"bCtrlBreak" doesn't need to be volatile too.
base/shell/cmd/cmd.c
base/shell/cmd/cmd.h
base/shell/cmd/misc.c