Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/usr.bin/m4 Pull up following revision(s) (requested by kr...
details: https://anonhg.NetBSD.org/src/rev/b0fe455435e4
branches: netbsd-8
changeset: 435177:b0fe455435e4
user: martin <martin%NetBSD.org@localhost>
date: Tue Aug 07 13:11:12 2018 +0000
description:
Pull up following revision(s) (requested by kre in ticket #956):
usr.bin/m4/eval.c: revision 1.27
Avoid an infinite loop caused by a line accidentally dropped
in 1.22 (almost 30 months ago!)
[ Discovered by rhialto@ ]
diffstat:
usr.bin/m4/eval.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 39219066469c -r b0fe455435e4 usr.bin/m4/eval.c
--- a/usr.bin/m4/eval.c Tue Aug 07 13:02:31 2018 +0000
+++ b/usr.bin/m4/eval.c Tue Aug 07 13:11:12 2018 +0000
@@ -1,5 +1,5 @@
/* $OpenBSD: eval.c,v 1.66 2008/08/21 21:01:47 espie Exp $ */
-/* $NetBSD: eval.c,v 1.24.8.1 2018/04/11 14:27:51 martin Exp $ */
+/* $NetBSD: eval.c,v 1.24.8.2 2018/08/07 13:11:12 martin Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: eval.c,v 1.24.8.1 2018/04/11 14:27:51 martin Exp $");
+__RCSID("$NetBSD: eval.c,v 1.24.8.2 2018/08/07 13:11:12 martin Exp $");
#include <sys/types.h>
#include <ctype.h>
@@ -987,6 +987,7 @@
}
} else {
while (*src) {
+ sch = (unsigned char)(*src++);
dch = mapvec[sch];
while (dch != sch) {
sch = dch;
Home |
Main Index |
Thread Index |
Old Index