🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Scott W. Gifford Mon, 07 Jul 1997 00:00
Dumb question about applying patches...
#19057
Author: Scott W. Gifford
Date: Mon, 07 Jul 1997 00:00
32 lines
1427 bytes
  I can't seem to apply patches that are in whatever style uses @@ all over
the place...More specifically, patches that look something like this:

	RCS file: /usr/src/master/inn/innd/art.c,v
	retrieving revision 1.9
	diff -u -r1.9 art.c
	--- art.c       1996/12/12 00:39:01     1.9
	+++ art.c       1996/12/18 03:41:30
	@@ -1784,7 +1784,7 @@
	        (void)sprintf(buff, "%d %s", NNTP_REJECTIT_VAL, error);
	        ARTlog(&Data, ART_REJECT, buff);
	 #if    defined(DO_REMEMBER_TRASH)
	-        if (Mode == OMrunning && !HISwrite(&Data, ""))
	
My copy of patch, which is the newest I can find, doesn't know what to do
with them:

	$ patch < unoff-patch/null-pointer.patch
	Hmm...  I can't seem to find a patch in there anywhere.

patch -v says:

	$ patch -v
	$Header: patch.c,v 2.0.1.6 88/06/22 20:46:39 lwall Locked $
	Patch level: 12

  Anybody have any hints?...

-----Scott.

Re: Dumb question about applying patches...
#19058
Author: Scott W. Gifford
Date: Mon, 07 Jul 1997 00:00
13 lines
845 bytes
>   I can't seem to apply patches that are in whatever style uses @@ all
over
> the place...

  Thanks to all who answered, the newest version of Patch is 2.4, not the
2.0 that I had installed.  It is available from any GNU software site.

----Scott.



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads