diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /mail/popd/files/patch-lib__funcs.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'mail/popd/files/patch-lib__funcs.c')
-rw-r--r-- | mail/popd/files/patch-lib__funcs.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/popd/files/patch-lib__funcs.c b/mail/popd/files/patch-lib__funcs.c new file mode 100644 index 000000000000..ff835dd6eb14 --- /dev/null +++ b/mail/popd/files/patch-lib__funcs.c @@ -0,0 +1,20 @@ +$FreeBSD$ + +--- lib/funcs.c.orig Mon Mar 3 21:10:19 2003 ++++ lib/funcs.c Wed Oct 15 11:18:01 2003 +@@ -198,11 +198,11 @@ + len = vsnprintf(p, MAXBUFLEN - (buffer - p), format, pvar); + } + va_end(pvar); +- if (p - buffer + len + 3 > MAXBUFLEN) { +- xwrite(buffer, p - buffer + len); ++ p += len; ++ if (p - buffer + 3 > MAXBUFLEN) { ++ xwrite(buffer, p - buffer); + p = buffer; + } +- p += len; + *p++ = '\r'; + *p++ = '\n'; + if (flag == SEND_FLUSH) { + |