bugGNU patch - Bugs: bug #45581, Patch 2.7.5 fails to patch files...

 
 

bug #45581: Patch 2.7.5 fails to patch files across ../ , which leads to OpenOffice build failure

Submitted by:  None
Submitted on:  Mon 20 Jul 2015 08:08:54 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 09 Aug 2016 10:15:43 PM UTC, comment #2:

Fixed in git.

Andreas Gruenbacher <agruen>
Project Administrator
Mon 20 Jul 2015 09:20:05 AM UTC, comment #1:

Thanks, I've added a test case for this bug.

Andreas Gruenbacher <agruen>
Project Administrator
Mon 20 Jul 2015 08:08:54 AM UTC, original submission:

This is a mirror bug for https://bz.apache.org/ooo/show_bug.cgi?id=126258

Recent patch refuses to patch files across .. , which leads to OpenOffice build failure.

It is easily reproducible:

$ echo aa> file1
$ echo bb> file2
$ mkdir 1
$ diff -u file1 file2> 1/patch
$ cd 1
$ patch ../file1 patch
Invalid file name ../file1 -- skipping patch

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by efferre79
  • -unavailable- added by agruen (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 09 Aug 2016 10:15:43 PM UTCagruenStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 21 Sep 2015 07:59:49 PM UTCefferre79Carbon-Copy-=>Added efferre79

    Back to the top


    Powered by Savane 3.1-cleanup1