summaryrefslogtreecommitdiff
path: root/comms/qpage/files/patch-util.c
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-03-14 14:39:15 +0000
committerMark Felder <feld@FreeBSD.org>2016-03-14 14:39:15 +0000
commitb3909d5c4d2434aafcf77495a66d999ec8199e0a (patch)
treeb4e85c88fb0efc7236b0a2b892d17f55af03030f /comms/qpage/files/patch-util.c
parentFix runtime error. (diff)
comms/qpage: Resurrect port
- New MASTER_SITE - New MAINTAINER - Change to USES=tar:Z - Regenerate patches PR: 206321
Notes
Notes: svn path=/head/; revision=411079
Diffstat (limited to 'comms/qpage/files/patch-util.c')
-rw-r--r--comms/qpage/files/patch-util.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/qpage/files/patch-util.c b/comms/qpage/files/patch-util.c
new file mode 100644
index 000000000000..473e86f81a3e
--- /dev/null
+++ b/comms/qpage/files/patch-util.c
@@ -0,0 +1,11 @@
+--- util.c.orig 1998-10-25 19:55:11 UTC
++++ util.c
+@@ -537,7 +537,7 @@ msgcpy(char *dst, char *src, int n)
+ ** Now make sure we didn't chop a word in the middle.
+ */
+ if (*src && end) {
+- *end++ = '\0';
++ *++end = '\0';
+ src = start;
+ }
+