fix prodded by cnuke@ for AIX with IBM xlC 7.0:

fool the compiler into not doing static bounds checking when we do
one-past-the-array-boundary pointer assignments for cases where the
only accesses are like (*--pointer); bump version
This commit is contained in:
tg
2008-10-10 21:30:43 +00:00
parent 94b7792718
commit 37934a07cf
5 changed files with 11 additions and 11 deletions

4
lex.c
View File

@@ -2,7 +2,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.72 2008/09/30 19:35:10 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.73 2008/10/10 21:30:42 tg Exp $");
/*
* states while lexing word
@@ -151,7 +151,7 @@ yylex(int cf)
states[0].ls_info.base = NULL;
statep = &states[1];
state_info.base = states;
state_info.end = &states[STATE_BSIZE];
state_info.end = &state_info.base[STATE_BSIZE];
Xinit(ws, wp, 64, ATEMP);