diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-07-07 07:02:33 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-07-07 07:02:33 +0000 |
commit | 3960d8924a1a0ba2f0f5e8510e73a10ee20d726b (patch) | |
tree | 068fa33f5b47453a5521c0ff1b2b613ff8a3452c /src/dc/parse.c | |
parent | 1f958cfad78842ab9a1193471589231e25596cb3 (diff) |
Notes
Diffstat (limited to 'src/dc/parse.c')
-rw-r--r-- | src/dc/parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dc/parse.c b/src/dc/parse.c index 9ec746b96f7f4..86edc5f665059 100644 --- a/src/dc/parse.c +++ b/src/dc/parse.c @@ -1,9 +1,9 @@ /* * ***************************************************************************** * - * Copyright (c) 2018-2020 Gavin D. Howard and contributors. + * SPDX-License-Identifier: BSD-2-Clause * - * All rights reserved. + * Copyright (c) 2018-2020 Gavin D. Howard and contributors. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -230,7 +230,7 @@ void dc_parse_parse(BcParse *p) { exit: BC_SIG_MAYLOCK; - if (BC_ERR(vm.status)) bc_parse_reset(p); + if (BC_ERR(vm.status || vm.sig)) bc_parse_reset(p); BC_LONGJMP_CONT; } #endif // DC_ENABLED |