78584: Subject: cmd: GOTO is a no-op and doesn't output anything in interactive mode
buildbot at kegel.com
buildbot at kegel.com
Thu Sep 8 19:26:01 CDT 2011
This is an experimental automated build and test service.
Please feel free to ignore this email while we work the kinks out.
The Buildbot has detected a failed build on builder runtests-default while building Wine.
Full details are available at: http://buildbot.kegel.com/builders/runtests-default/builds/20 (though maybe not for long, as I'm still reinstalling the buildbot periodically while experimenting)
BUILD FAILED: failed git
For more info about this message, see http://wiki.winehq.org/BuildBot
-------------- next part --------------
From: Frédéric Delanoy <frederic.delanoy at gmail.com>
Subject: cmd: GOTO is a no-op and doesn't output anything in interactive mode
Message-Id: <1315525685-10293-2-git-send-email-frederic.delanoy at gmail.com>
Date: Fri, 9 Sep 2011 01:48:05 +0200
---
programs/cmd/builtins.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index acd609c..0e2b459 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -1476,16 +1476,17 @@ void WCMD_goto (CMD_LIST **cmdList) {
/* Do not process any more parts of a processed multipart or multilines command */
if (cmdList) *cmdList = NULL;
- if (param1[0] == 0x00) {
- WCMD_output (WCMD_LoadMessage(WCMD_NOARG));
- return;
- }
if (context != NULL) {
WCHAR *paramStart = param1;
static const WCHAR eofW[] = {':','e','o','f','\0'};
BOOL label_found;
LARGE_INTEGER pos;
+ if (param1[0] == 0x00) {
+ WCMD_output (WCMD_LoadMessage(WCMD_NOARG));
+ return;
+ }
+
/* Handle special :EOF label */
if (lstrcmpiW (eofW, param1) == 0) {
context -> skip_rest = TRUE;
--
1.7.6
More information about the wine-tests-results
mailing list