fix another clobbered-by-setjmp/longjmp warning

This commit is contained in:
tg 2013-07-24 18:03:57 +00:00
parent e495fde858
commit b46001ad4a
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.620 2013/07/24 12:39:25 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.621 2013/07/24 18:03:54 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -31,7 +31,7 @@
# http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/bin/test/regress.sh?rev=HEAD
expected-stdout:
@(#)MIRBSD KSH R47 2013/07/21
@(#)MIRBSD KSH R47 2013/07/24
description:
Check version of shell.
stdin:
@ -40,7 +40,7 @@ name: KSH_VERSION
category: shell:legacy-no
---
expected-stdout:
@(#)LEGACY KSH R47 2013/07/21
@(#)LEGACY KSH R47 2013/07/24
description:
Check version of legacy shell.
stdin:

4
eval.c
View File

@ -23,7 +23,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.141 2013/07/24 12:39:28 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.142 2013/07/24 18:03:57 tg Exp $");
/*
* string expansion
@ -1836,7 +1836,7 @@ alt_expand(XPtrV *wp, char *start, char *exp_start, char *end, int fdo)
static char *
valsub(struct op *t, Area *ap)
{
char *cp = NULL;
char * volatile cp = NULL;
struct tbl * volatile vp = NULL;
newenv(E_FUNC);

4
sh.h
View File

@ -164,9 +164,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.660 2013/07/21 18:47:22 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.661 2013/07/24 18:03:57 tg Exp $");
#endif
#define MKSH_VERSION "R47 2013/07/21"
#define MKSH_VERSION "R47 2013/07/24"
/* arithmetic types: C implementation */
#if !HAVE_CAN_INTTYPES