Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 1 Oct 2001 12:32:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 1 Oct 2001 12:32:31 -0400 Received: from [172.16.44.254] ([172.16.44.254]:50959 "EHLO int-mx1.corp.redhat.com") by vger.kernel.org with ESMTP id ; Mon, 1 Oct 2001 12:32:27 -0400 Date: Mon, 1 Oct 2001 11:32:59 -0500 From: Tommy Reynolds To: Anthony Cc: linux-kernel@vger.kernel.org Subject: Re: Patch files Message-Id: <20011001113259.7f61ab7f.reynolds@redhat.com> In-Reply-To: <4.3.2.7.2.20011002021641.02340710@mail.ispdr.net.au> In-Reply-To: <4.3.2.7.2.20011002021641.02340710@mail.ispdr.net.au> Organization: Red Hat Software, Inc. / Embedded Development X-Mailer: Sylpheed version 0.6.2cvs8 (GTK+ 1.2.9; ) X-Face: Nr)Jjr was pleased to say: > Hi everyone, > I'm new to this list, and have been using Linux for just over a year now. > I'll get straight to the point, as I think this may be a bit off-topic. I'm > trying to apply a patch file to support a PCI printer card I've got. The > patch file contains several patches, but only the last one is working. I'm > prepared to try and sort it out myself, but I just need to know something > about the patch file so I might be able to understand how it works. Can > anyone please explain (or point me to the relevant documentation) to me > what the following lines mean?: > > --- linux/include/linux/pci_ids.h.netmos Sat Sep 8 09:44:43 2001 > +++ linux/include/linux/pci_ids.h Sat Sep 8 09:44:45 2001 > @@ -1664,8 +1664,12 @@ > > And this is from further down in the patch: > @@ -2831,6 +2839,15 @@ > > I'm using RedHat 7.1 with the included 2.4.2-2 kernel. Any help on this > matter would be much appreciated. Larry Wall's patch program uses the diff(1) program to perform the file comparisons, so an "info diff" command is your friend. Hint: this is a context diff. ---------------------------------------------+----------------------------- Tommy Reynolds | mailto: Red Hat, Inc., Embedded Development Services | Phone: +1.256.704.9286 307 Wynn Drive NW, Huntsville, AL 35805 USA | FAX: +1.236.837.3839 Senior Software Developer | Mobile: +1.919.641.2923 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/