Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/regex rename to regnsub, regsub is a very popular n...
details: https://anonhg.NetBSD.org/src/rev/5043543022a3
branches: trunk
changeset: 342939:5043543022a3
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 14 21:45:01 2016 +0000
description:
rename to regnsub, regsub is a very popular name.
diffstat:
lib/libc/regex/Makefile.inc | 4 ++--
lib/libc/regex/regsub.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 4d086fa158b8 -r 5043543022a3 lib/libc/regex/Makefile.inc
--- a/lib/libc/regex/Makefile.inc Thu Jan 14 21:19:41 2016 +0000
+++ b/lib/libc/regex/Makefile.inc Thu Jan 14 21:45:01 2016 +0000
@@ -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 @@
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
diff -r 4d086fa158b8 -r 5043543022a3 lib/libc/regex/regsub.c
--- a/lib/libc/regex/regsub.c Thu Jan 14 21:19:41 2016 +0000
+++ b/lib/libc/regex/regsub.c Thu Jan 14 21:45:01 2016 +0000
@@ -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 @@
}
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);
Home |
Main Index |
Thread Index |
Old Index