summaryrefslogtreecommitdiff
path: root/comms/yaps/files/patch-yaps.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-08-01 06:13:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-08-01 06:13:41 +0000
commitde43b1e9363a8ec454566e6f4b4e28076288fafa (patch)
tree6db06768fac9e7817ab1296a44073417220f965d /comms/yaps/files/patch-yaps.c
parentsecurity/py-pyclamd: 0.2.2 -> 0.3.17 (diff)
Fix collision with getline(3)
Notes
Notes: svn path=/head/; revision=419426
Diffstat (limited to 'comms/yaps/files/patch-yaps.c')
-rw-r--r--comms/yaps/files/patch-yaps.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/yaps/files/patch-yaps.c b/comms/yaps/files/patch-yaps.c
new file mode 100644
index 000000000000..b672b58c3b19
--- /dev/null
+++ b/comms/yaps/files/patch-yaps.c
@@ -0,0 +1,11 @@
+--- yaps.c.orig 1997-06-14 10:25:56 UTC
++++ yaps.c
+@@ -1177,7 +1177,7 @@ create_messages (void *cfg, char *servic
+ fprintf (stderr, "Unable to open message file %s for reading\n", mfile);
+ return NULL;
+ }
+- while (ptr = getline (fp, False)) {
++ while (ptr = get_line (fp, False)) {
+ sav = skip (ptr);
+ if (*ptr && *sav) {
+ if (rcnt + 2 >= rsiz) {