diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-09-06 13:25:00 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-09-06 13:25:00 +0000 |
commit | cd410cfd0a085cc78c2b7b30e65640c2cf463dc4 (patch) | |
tree | bf07dc3bc83bad193cc53f3d1e384e137ef9e70c /usr.bin/m4/eval.c | |
parent | 15ad24c8377afe4177bc2409a503c8251e6b390a (diff) |
Use EOS pervasively.
Diffstat (limited to 'usr.bin/m4/eval.c')
-rw-r--r-- | usr.bin/m4/eval.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c index c6023b6726a..6ada8da46b6 100644 --- a/usr.bin/m4/eval.c +++ b/usr.bin/m4/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.13 1999/09/06 13:20:40 espie Exp $ */ +/* $OpenBSD: eval.c,v 1.14 1999/09/06 13:24:59 espie Exp $ */ /* $NetBSD: eval.c,v 1.7 1996/11/10 21:21:29 pk Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)eval.c 8.2 (Berkeley) 4/27/95"; #else -static char rcsid[] = "$OpenBSD: eval.c,v 1.13 1999/09/06 13:20:40 espie Exp $"; +static char rcsid[] = "$OpenBSD: eval.c,v 1.14 1999/09/06 13:24:59 espie Exp $"; #endif #endif /* not lint */ @@ -619,7 +619,7 @@ register int argc; strncpy(lquote, argv[2], MAXCCHARS); else { lquote[0] = LQUOTE; - lquote[1] = '\0'; + lquote[1] = EOS; } if (argc > 3) { if (*argv[3]) @@ -627,8 +627,8 @@ register int argc; } else strcpy(rquote, lquote); } else { - lquote[0] = LQUOTE, lquote[1] = '\0'; - rquote[0] = RQUOTE, rquote[1] = '\0'; + lquote[0] = LQUOTE, lquote[1] = EOS; + rquote[0] = RQUOTE, rquote[1] = EOS; } } @@ -648,11 +648,11 @@ register int argc; strncpy(ecommt, argv[3], MAXCCHARS); } else - ecommt[0] = ECOMMT, ecommt[1] = '\0'; + ecommt[0] = ECOMMT, ecommt[1] = EOS; } else { - scommt[0] = SCOMMT, scommt[1] = '\0'; - ecommt[0] = ECOMMT, ecommt[1] = '\0'; + scommt[0] = SCOMMT, scommt[1] = EOS; + ecommt[0] = ECOMMT, ecommt[1] = EOS; } } |