Fixes from 31-Jul-2003; make it 8-bit clean.

Forgotten by:	ru (for far too long)
This commit is contained in:
Ruslan Ermilov 2004-02-05 23:16:31 +00:00
parent 88b8d48716
commit 2e454f23fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/one-true-awk/dist/; revision=125505
2 changed files with 3 additions and 3 deletions

View File

@ -550,9 +550,9 @@ int input(void) /* get next lexical input character */
extern char *lexprog;
if (yysptr > yysbuf)
c = *--yysptr;
c = (uschar)*--yysptr;
else if (lexprog != NULL) { /* awk '...' */
if ((c = *lexprog) != 0)
if ((c = (uschar)*lexprog) != 0)
lexprog++;
} else /* awk -f ... */
c = pgetc();

View File

@ -22,7 +22,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
****************************************************************/
const char *version = "version 20030729";
const char *version = "version 20030731";
#define DEBUG
#include <stdio.h>