Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.bin/m4 Pull up revision 1.25 (requested by jmc):



details:   https://anonhg.NetBSD.org/src/rev/ec03e0ed3604
branches:  netbsd-1-5
changeset: 492956:ec03e0ed3604
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 20 21:48:46 2002 +0000

description:
Pull up revision 1.25 (requested by jmc):
  Fix a conversion bug internal to m4 which causes it to output
  0xff as the last byte of output.

diffstat:

 usr.bin/m4/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r eea7c0e527ec -r ec03e0ed3604 usr.bin/m4/main.c
--- a/usr.bin/m4/main.c Wed Mar 20 21:42:32 2002 +0000
+++ b/usr.bin/m4/main.c Wed Mar 20 21:48:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.23 1999/08/16 02:49:20 enami Exp $  */
+/*     $NetBSD: main.c,v 1.23.8.1 2002/03/20 21:48:46 he Exp $ */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: main.c,v 1.23 1999/08/16 02:49:20 enami Exp $");
+__RCSID("$NetBSD: main.c,v 1.23.8.1 2002/03/20 21:48:46 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -462,7 +462,7 @@
 inspect(tp) 
        char *tp;
 {
-       char c;
+       int c;
        char *name = tp;
        char *etp = tp+MAXTOK;
        ndptr p;



Home | Main Index | Thread Index | Old Index