diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | debug.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2014-05-04 Arnold D. Robbins <arnold@skeeve.com> + + * debug.c (debug_prog): Change check for GAWK_RESTART so that it + actually works. Bug fix: run command in debugger would start + over again but not actually start running the program. + 2014-04-25 Andrew J. Schorr <aschorr@telemetry-investments.com> * io.c (two_way_open): In forked child, reset SIGPIPE to SIG_DFL. @@ -2801,7 +2801,7 @@ debug_prog(INSTRUCTION *pc) unserialize(OPTION); unsetenv("DGAWK_RESTART"); fprintf(out_fp, "Restarting ...\n"); - if (run[0] == 'T') + if (strcasecmp(run, "true") == 0) (void) do_run(NULL, 0); } else if (command_file != NULL) { |