This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: incremental tar backups


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]