Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: DAVID SPEAR <dspear99ca AT yahoo DOT com> Subject: Re: incremental tar backups Date: Tue, 13 Jan 2004 00:11:02 +0000 (UTC) Lines: 59 Message-ID: <loom.20040113T010039-577@post.gmane.org> References: <loom DOT 20040112T194939-25 AT post DOT gmane DOT org> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040112142244 DOT 0385b050 AT 127 DOT 0 DOT 0 DOT 1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 66.183.210.236 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)) Yup, missed it. I couldn't get the patch to install, failed on "5 of 8 hunks." Downloaded the newest 1.13.25-5 and it seems to have incorporated that patch. I have not much experience applying diff patches, am used to either RPM patches or Solaris patches using patchadd or installpatch. What I tried was: I cut 'n pasted his two patches (I guess there are two, he calls them regular diff and patch diff), INCREMEN.C.DIFF and INCREMEN.C.PATCH into two files, patchfile1 and patchfile2. Then used: sadsack(root)# patch < patchfile1 can't find file to patch at input line 4 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |===INCREMEN.C.PATCH=== |*** incremen.c.old Sun Oct 26 20:44:33 2003 |--- incremen.c Mon Oct 27 06:24:18 2003 -------------------------- File to patch: ./tar.exe patching file ./tar.exe Hunk #1 FAILED at 131. Hunk #2 FAILED at 366. Hunk #3 FAILED at 414. Hunk #4 FAILED at 438. Hunk #5 FAILED at 450. Hunk #6 FAILED at 484. 6 out of 6 hunks FAILED -- saving rejects to file ./tar.exe.rej sadsack(root)# patch < patchfile2 can't find file to patch at input line 3 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |===INCREMEN.C.DIFF=== | -------------------------- File to patch: ./tar.exe patching file ./tar.exe Hunk #3 FAILED at 417. Hunk #4 FAILED at 441. Hunk #5 FAILED at 453. Hunk #7 FAILED at 489. Hunk #8 FAILED at 491. 5 out of 8 hunks FAILED -- saving rejects to file ./tar.exe.rej I note that his patches were based on 1.13.25-2 source... I dunno' which version I had as `tar --version` yielded only 1.13.25. thanks for your help. dave -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/