diff options
author | mikeh <mikeh@FreeBSD.org> | 2004-03-06 13:27:59 +0000 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2004-03-06 13:27:59 +0000 |
commit | 97dc367f937a8222c806908a545e7756d4e75444 (patch) | |
tree | 7e86592ded8baece04684092f091bd14dcc563f0 /usr.bin/mail | |
parent | ac2e10a4f5f5e797a01cec2b40d2f80f26d2f5f0 (diff) | |
download | FreeBSD-src-97dc367f937a8222c806908a545e7756d4e75444.zip FreeBSD-src-97dc367f937a8222c806908a545e7756d4e75444.tar.gz |
Assign checkmode boolean earlier to handle the goto jump.
Might fix PR bin/63769.
Diffstat (limited to 'usr.bin/mail')
-rw-r--r-- | usr.bin/mail/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c index 973eee5..7eb1123 100644 --- a/usr.bin/mail/lex.c +++ b/usr.bin/mail/lex.c @@ -77,6 +77,7 @@ setfile(name) char tempname[PATHSIZE]; static int shudclob; + checkmode = value("checkmode") != NULL; if ((name = expand(name)) == NULL) return (-1); @@ -151,7 +152,6 @@ setfile(name) (void)Fclose(ibuf); relsesigs(); sawcom = 0; - checkmode = value("checkmode") != NULL; if ((checkmode || !edit) && msgCount == 0) { nomail: |