🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19057

Dumb question about applying patches...

#19057
From: 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.

Technical Details
Message-ID: <01bc8afa$59560d00$f8298acd@sgifford.tir.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <01bc8afa$59560d00$f8298acd@sgifford.tir.com>
Subject: Dumb question about applying patches...
Date: Mon, 07 Jul 1997 00:00:00 +0000
From: "Scott W. Gifford" <sgifford@tir.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 255289208
Organization: The Internet Ramp
Newsgroups: news.software.nntp