Source-Changes-HG archive

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

[src/trunk]: src/dist/nvi/ex don't use L prefix directly, for --disable-widec...



details:   https://anonhg.NetBSD.org/src/rev/1879bb8a3b3c
branches:  trunk
changeset: 771492:1879bb8a3b3c
user:      tnozaki <tnozaki%NetBSD.org@localhost>
date:      Wed Nov 23 14:14:43 2011 +0000

description:
don't use L prefix directly, for --disable-widechar.

diffstat:

 dist/nvi/ex/ex.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 49fdb8d50bf0 -r 1879bb8a3b3c dist/nvi/ex/ex.c
--- a/dist/nvi/ex/ex.c  Wed Nov 23 12:15:30 2011 +0000
+++ b/dist/nvi/ex/ex.c  Wed Nov 23 14:14:43 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ex.c,v 1.7 2011/03/21 14:53:03 tnozaki Exp $ */
+/*     $NetBSD: ex.c,v 1.8 2011/11/23 14:14:43 tnozaki Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993, 1994
@@ -1842,7 +1842,7 @@
        F_CLR(ecp, E_DELTA);
 
        /* No addresses permitted until a file has been read in. */
-       if (sp->ep == NULL && STRCHR(L"$0123456789'\\/?.+-^", *ecp->cp)) {
+       if (sp->ep == NULL && STRCHR(L("$0123456789'\\/?.+-^"), *ecp->cp)) {
                ex_badaddr(sp, NULL, A_EMPTY, NUM_OK);
                *errp = 1;
                return (0);



Home | Main Index | Thread Index | Old Index