aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
commit02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch)
treef053238978479e408a2b83571443e132f30586ab /src/libregexp
parentc0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff)
parent3d1382b98a502d0c34d5ba2c462396acc515016e (diff)
downloadplan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/lib9.std.h1
-rw-r--r--src/libregexp/regcomp.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h
index 1d7aaa62..f309c094 100644
--- a/src/libregexp/lib9.std.h
+++ b/src/libregexp/lib9.std.h
@@ -8,4 +8,3 @@
#define exits(x) exit(x && *x ? 1 : 0)
#define nil 0
-
diff --git a/src/libregexp/regcomp.c b/src/libregexp/regcomp.c
index cd299a54..c58b4d84 100644
--- a/src/libregexp/regcomp.c
+++ b/src/libregexp/regcomp.c
@@ -109,7 +109,7 @@ regerr2(char *s, int c)
while(*s)
*cp++ = *s++;
*cp++ = c;
- *cp = '\0';
+ *cp = '\0';
rcerror(buf);
}