From 8fb546d493be513b96ec07a5736db7b080ff20c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Fri, 16 Jan 2009 19:24:27 +0000 Subject: [PATCH] [ 2499176 ] No chain_flush() when executing commands from file git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1418 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/cmd/parse.c | 1 + 2 files changed, 6 insertions(+) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 1507b763..32d58272 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2009-01-16 Arnim Laeuger + + * src/cmd/parse.c: flush_chain() between commands read from file + [ 2499176 ] No chain_flush() when executing commands from file + 2009-01-03 Arnim Laeuger * configure.ac, src/bus/bscoach.c, src/bus/buses.c, diff --git a/jtag/src/cmd/parse.c b/jtag/src/cmd/parse.c index 4d0bc6e2..344e38fd 100644 --- a/jtag/src/cmd/parse.c +++ b/jtag/src/cmd/parse.c @@ -142,6 +142,7 @@ jtag_parse_stream( chain_t *chain, FILE *f ) if (clip && !found_comment) fprintf(stdout, "Warning: line %d exceeds %d characters, clipped\n", lnr, (int)sizeof(inputline) - 1); go = jtag_parse_line(chain, inputline); + chain_flush( chain ); } while (go && c != EOF);