Tweaks to fuzzer batch scripts.

This commit is contained in:
Bart House
2019-07-14 13:39:58 -07:00
parent e3b5e7f95a
commit b5b2f6fc74
5 changed files with 24 additions and 24 deletions

View File

@@ -471,6 +471,11 @@ char *argv[];
argv++;
iflags.fuzzer_stop_and_save = atoi(*argv);
/* turn off getreturn_enabled so that game does not
* prompt for input when exiting
*/
getreturn_enabled = FALSE;
if (argc > 1 && argv[1][0] != '-') {
argc--;
argv++;
@@ -800,7 +805,9 @@ getlock()
{
register int fd, c, ci, ct, ern;
int fcmask = FCMASK;
#ifndef SELF_RECOVER
char tbuf[BUFSZ];
#endif
const char *fq_lock;
#define OOPS_BUFSZ 512
char oops[OOPS_BUFSZ];