Path: utzoo!attcan!uunet!wucs1!wucs2!dadent!jas
From: jas@dadent (Jay Shrauner)
Newsgroups: comp.sources.bugs
Subject: Bug in Patch..
Summary: assertion failed
Message-ID: <919@wucs2.UUCP>
Date: 9 Aug 88 14:43:11 GMT
Sender: usenet@wucs2.UUCP
Reply-To: jas@dadent.UUCP (Jay Shrauner)
Distribution: na
Organization: Washington University, ESSRL
Lines: 25

I'm sure somebody else has tackled this question before but I don't know the
answer.  For some reason whenever I use the patch program and it hits a 
diff that only deletes a few lines, it bombs.  What I'm talking about is like
the following:

***************
*** 485,491 ****
  	echo " "
  	echo "nm didn't seem to work right."
  	echo "Trying ar instead..."
- 	rmlist="$rmlist libc.tmp"
  	if ar t $libc > libc.tmp; then
  	    sed -e 's/\.o$//' < libc.tmp > libc.list
  	    echo "Ok."
--- 489,494 ----
***************
*** 501,507 ****

etc.  The error says that the assertion failed in pch.c, line 636.  If it
matters I have patch 2.0, patchlevel 0.  If there is a patch for this could
somebody send it to me?  As it is now I have to do these types of patches
manually which kind of defeats the whole purpose of the patch program.

Jay Shrauner
jas@dadent.wustl.edu