Evan Hisey wrote:
>>  >  > The problem is that diffs work fine, but the patch command does not
>>  >  > handled spaces. This turned out to be a known limitation of the patch
>>  >  > command. It  is refered to as the Unusual Filename problem. If you can
>>  >  > apply  patches by SVN then that might work but I am unaware of how to
>>  >  > do that.
>>  >
>>  >
>>  >  Works for me,
>>  >
>>  >  Made a change to the fxd, did a svn diff, removed the fxd, svn update,
>>  >  patched from the diff, no problem.
>>  >
>>  >
>>  >
>>  >  Duncan
>>   I will try it with the svn diff tongiht.
>>
>>  Evan
>>
> The diff half of things works just fine still. Below is the out put of
> patch. Perhaps there is another version of patch that does handles
> spaces. I have attached the patch. Give it a try and see what happens.
> I may have problems somewhere on my end. Also here is the link on the
> Unusual Filenames issue with diffutils.
> http://www.gnu.org/software/diffutils/manual/html_node/Unusual-File-Names.html#Unusual%20File%20Names.
> 
> ~/freevo-1.x/freevo/share/skins/main$ patch < test.patch
> can't find file to patch at input line 5
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: Tux'n Tosh TV.fxd
> |===================================================================
> |--- Tux'n Tosh TV.fxd        (revision 10645)
> |+++ Tux'n Tosh TV.fxd        (working copy)
> --------------------------
> File to patch: Tux'n Tosh TV.fxd
> Tux'n: No such file or directory
> Skip this patch? [y]

# patch -Np0 -i test.patch
patching file 'Tux'\''n Tosh TV.fxd'

Which version of patch are you using? 2.5.9 seems to work fine, 2.5.4 is 
broken.

Duncan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to