[PATCH 2/2] cmd: Add support for || and &&.

Qian Hong qhong at codeweavers.com
Thu Apr 7 15:12:56 CDT 2016


Slightly improved based on Mikhail Bystryantsev's patch, add support for 
those built-in commands which does not change %ERRORLEVEL%.

Signed-off-by: Qian Hong <qhong at codeweavers.com>
---
  programs/cmd/builtins.c                  | 14 +++++++++++---
  programs/cmd/tests/test_builtins.cmd     | 13 +++++++++++++
  programs/cmd/tests/test_builtins.cmd.exp | 13 ++++++++++++-
  programs/cmd/tests/test_cmdline.cmd      | 20 ++++++++++++++++++++
  programs/cmd/tests/test_cmdline.cmd.exp  | 22 ++++++++++++++++++++++
  programs/cmd/wcmd.h                      |  1 +
  programs/cmd/wcmdmain.c                  | 26 ++++++++++++++++++++++++--
  7 files changed, 103 insertions(+), 6 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cmd-Add-support-for-and.patch
Type: text/x-patch
Size: 7690 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160408/e79c7c78/attachment.bin>


More information about the wine-patches mailing list