The attachment.bin from that link is 115 lines, but does not have a
newline at the end of the 115th line. There have been a lot of versions of
"patch" commands, and not all of them may be equally tolerant.
You could try getting a fresh copy of attachment.bin, and then modifying
it by adding the newline
echo >>attachment.bin
and then using that.
I don't recall having any problems, but I'm working on a Mac, which may
have a different version of "patch" than what you're using.
On Mon, Mar 21, 2016 at 9:40 AM, Matthew Daubenspeck <user-8598f5922460@xymon.invalid>
wrote:
On Fri, Mar 18, 2016 at 11:28:40AM -0800, John Thurston wrote:
patching file xymonnet/contest.c
patching file configure.server
patching file build/ssl.sh
patching file build/test-ssl3.c
patching file build/Makefile.test-ssl3
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 114:
Did I patch it wrong?
I suspect you have a truncated patch file.
The attached text is 115 lines long.
I must be doing something wrong then. I downloaded the patch directly
from the user list archives, and get the same error. Line 115 has
nothing but a + and a blank line. I tried the patch attachment via mutt,
and downloading it via here:
http://lists.xymon.com/archive/2016-March/043228.html