summaryrefslogtreecommitdiff
path: root/contrib/one-true-awk
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-02-05 23:16:31 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-02-05 23:16:31 +0000
commit175f0360d3937c5e6e9328c4875ad6d4b123a3cd (patch)
treead54992e8b907bd8f5eb2fcf1150a76f5d3ad27f /contrib/one-true-awk
parent0ec876a2f03355e068a9ab527062862bd24ca5ce (diff)
parent2e454f23faa1040e80182e324d1562560faeb957 (diff)
downloadsrc-test2-175f0360d3937c5e6e9328c4875ad6d4b123a3cd.tar.gz
src-test2-175f0360d3937c5e6e9328c4875ad6d4b123a3cd.zip
This commit was generated by cvs2svn to compensate for changes in r125505,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=125506
Diffstat (limited to 'contrib/one-true-awk')
-rw-r--r--contrib/one-true-awk/lex.c4
-rw-r--r--contrib/one-true-awk/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/one-true-awk/lex.c b/contrib/one-true-awk/lex.c
index 39f5d4d305c2..1766d71690ce 100644
--- a/contrib/one-true-awk/lex.c
+++ b/contrib/one-true-awk/lex.c
@@ -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();
diff --git a/contrib/one-true-awk/main.c b/contrib/one-true-awk/main.c
index 6e6604e0cba4..5ca7c6ce011f 100644
--- a/contrib/one-true-awk/main.c
+++ b/contrib/one-true-awk/main.c
@@ -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>