Module Name: src Committed By: tnozaki Date: Wed Nov 23 14:14:44 UTC 2011
Modified Files: src/dist/nvi/ex: ex.c Log Message: don't use L prefix directly, for --disable-widechar. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/dist/nvi/ex/ex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/dist/nvi/ex/ex.c diff -u src/dist/nvi/ex/ex.c:1.7 src/dist/nvi/ex/ex.c:1.8 --- src/dist/nvi/ex/ex.c:1.7 Mon Mar 21 14:53:03 2011 +++ src/dist/nvi/ex/ex.c Wed Nov 23 14:14:43 2011 @@ -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 @@ ex_line(SCR *sp, EXCMD *ecp, MARK *mp, i 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);