www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/15/21:49:43

Xref: news2.mv.net comp.os.msdos.djgpp:1167
From: Robert Hoehne <rho AT hrz DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Patch 2.1 from DJGPP V2.0 doesn't work
Date: 15 Feb 1996 11:57:38 GMT
Organization: TU Chemnitz-Zwickau
Lines: 41
Message-ID: <4fv73i$dhn@pyrrhus-f.hrz.tu-chemnitz.de>
NNTP-Posting-Host: daemon.hrz.tu-chemnitz.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Patch 2.1 from DJGPP V2.0 doesn't work

Here are my sample files.

/* start of file diff */
*** oldfile     Wed Feb 14 19:05:58 1996
--- newfile     Wed Feb 14 19:06:52 1996
***************
*** 1,3 ****
  oldfile
! with
  error
--- 1,3 ----
  oldfile
! without
  error
/* end of file diff */


/* start of file oldfile */
oldfile
with
error
/* end of file oldfile */

commandline:

  patch < diff

With patch from DJGPP V2.0 Beta4 this works. But if you do it with patch
from official release 2.0 it produces:

  Hmm...  Looks like a new-style context diff to me...
  Exiting due to signal SIGABRT
  Assertion failed at pch.c line 409: p_base <= file_pos


I think, this is only an error in compiling patch.

By Robert.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019