Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 08:33:28 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Alan Larson <larson@eng.paix.net>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: problem with patch
Message-ID:  <20011024083328.A4792@straylight.oblivion.bg>
In-Reply-To: <200110232039.NAA90656@ground0.paix.net>; from larson@eng.paix.net on Tue, Oct 23, 2001 at 01:39:19PM -0700
References:  <200110232039.NAA90656@ground0.paix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 23, 2001 at 01:39:19PM -0700, Alan Larson wrote:
>   I just happened across a problem with the patch utility.
> 
>   Running the appended script with a freshly installed 4.4-release
> causes patch to give an error message and a core file.
> 
> It says:
> Patching file LOCAL using Plan A...
> assertion "fillsrc==p_end+1 || fillsrc==repl_beginning" failed: "/usr/src/gnu/usr.bin/patch/pch.c", line 768
> Abort (core dumped)
> 
> 
>   I would claim that this is the wrong response.
> 
> 
>   Note, some sort of error is appropriate -- the patch file is for
> 4.3-release, and doesn't match the file that is being patched.
> 
> 	Alan

There are known issues with the version of GNU patch that is in the FreeBSD
base system.  I'd recomment always installing the devel/patch port,
which installs a more recent version of GNU patch, and then using gpatch
instead of patch.

G'luck,
Peter

-- 
This would easier understand fewer had omitted.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011024083328.A4792>