Oops, my server is on Solaris 11 , not on a Mac; I would have been using GNU patch 2.7.5 probably. But I might have gotten the patch a different way (or even just copy/pasted it) when I got it.
On Mon, Mar 21, 2016 at 12:12 PM, Richard Hamilton <rlhamil2 at gmail.com> wrote:
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 <matt at oddprocess.org> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon