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

Submitter:  None
Submitted:  Mon 20 Jul 2015 08:08:54 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed in git.

Andreas Gruenbacher <agruen>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-09 agruen StatusNone Fixed
        Open/ClosedOpen Closed
    2015-09-21 efferre79 Carbon-Copy- Added efferre79

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code