Module Name:    src
Committed By:   christos
Date:           Thu Jan 14 21:45:02 UTC 2016

Modified Files:
        src/lib/libc/regex: Makefile.inc regsub.c

Log Message:
rename to regnsub, regsub is a very popular name.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/regex/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/regex/regsub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/regex/Makefile.inc
diff -u src/lib/libc/regex/Makefile.inc:1.8 src/lib/libc/regex/Makefile.inc:1.9
--- src/lib/libc/regex/Makefile.inc:1.8	Thu Jan 14 15:41:47 2016
+++ src/lib/libc/regex/Makefile.inc	Thu Jan 14 16:45:01 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.8 2016/01/14 20:41:47 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.9 2016/01/14 21:45:01 christos Exp $
 #	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
 
 # regex sources
@@ -11,4 +11,4 @@ SRCS+=	regcomp.c regerror.c regexec.c re
 MAN+=	regex.3 re_format.7
 
 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3 \
-	regex.3 regfree.3 regex.3 regsub.3 regex.3 regasub.3
+	regex.3 regfree.3 regex.3 regnsub.3 regex.3 regasub.3

Index: src/lib/libc/regex/regsub.c
diff -u src/lib/libc/regex/regsub.c:1.1 src/lib/libc/regex/regsub.c:1.2
--- src/lib/libc/regex/regsub.c:1.1	Thu Jan 14 15:41:47 2016
+++ src/lib/libc/regex/regsub.c	Thu Jan 14 16:45:01 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: regsub.c,v 1.1 2016/01/14 20:41:47 christos Exp $	*/
+/*	$NetBSD: regsub.c,v 1.2 2016/01/14 21:45:01 christos Exp $	*/
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: regsub.c,v 1.1 2016/01/14 20:41:47 christos Exp $");
+__RCSID("$NetBSD: regsub.c,v 1.2 2016/01/14 21:45:01 christos Exp $");
 
 #include <sys/param.h>
 #include <ctype.h>
@@ -148,7 +148,7 @@ regsub1(char **buf, size_t len, const ch
 }
 
 ssize_t
-regsub(char *buf, size_t len, const char *sub, const regmatch_t *rm,
+regnsub(char *buf, size_t len, const char *sub, const regmatch_t *rm,
     const char *str)
 {
 	return regsub1(&buf, len, sub, rm, str);

Reply via email to