Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/nvi/dist/ex exrc expects 1 argument.



details:   https://anonhg.NetBSD.org/src/rev/55574159d261
branches:  trunk
changeset: 804180:55574159d261
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 27 20:00:09 2014 +0000

description:
exrc expects 1 argument.

diffstat:

 external/bsd/nvi/dist/ex/ex_mkexrc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 904725e7b710 -r 55574159d261 external/bsd/nvi/dist/ex/ex_mkexrc.c
--- a/external/bsd/nvi/dist/ex/ex_mkexrc.c      Thu Nov 27 19:43:58 2014 +0000
+++ b/external/bsd/nvi/dist/ex/ex_mkexrc.c      Thu Nov 27 20:00:09 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ex_mkexrc.c,v 1.3 2014/01/26 21:43:45 christos Exp $ */
+/*     $NetBSD: ex_mkexrc.c,v 1.4 2014/11/27 20:00:09 christos Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -16,7 +16,7 @@
 static const char sccsid[] = "Id: ex_mkexrc.c,v 10.13 2001/06/25 15:19:17 skimo Exp  (Berkeley) Date: 2001/06/25 15:19:17 ";
 #endif /* not lint */
 #else
-__RCSID("$NetBSD: ex_mkexrc.c,v 1.3 2014/01/26 21:43:45 christos Exp $");
+__RCSID("$NetBSD: ex_mkexrc.c,v 1.4 2014/11/27 20:00:09 christos Exp $");
 #endif
 
 #include <sys/types.h>
@@ -52,7 +52,7 @@
        size_t flen;
 
        switch (cmdp->argc) {
-       case 0:
+       case 1:
                fname = _PATH_EXRC;
                INT2CHAR(sp, cmdp->argv[0]->bp, cmdp->argv[0]->len + 1, 
                            fname, flen);



Home | Main Index | Thread Index | Old Index