bugGNU patch - Bugs: bug #31669, file creation is different between...

 
 

bug #31669: file creation is different between 2.5.4 and 2.6 version.

Submitted by:  Jason Shin <h4hero>
Submitted on:  Tue 16 Nov 2010 10:02:20 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 16 Nov 2010 02:32:31 PM UTC, comment #1:

Version 2.6.1 and later have this bug fixed.

Andreas Gruenbacher <agruen>
Project Administrator
Tue 16 Nov 2010 10:02:20 AM UTC, original submission:

Below patch file creates "test.c" file on different folder according to version of "patch".
when doing "$patch -p0 < test.patch", 2.6ver makes file "patch/test.c".
2.5.4 ver makes file "orig/test.c".

============ test.patch ==============
diff -Naur orig/test.c patch/test.c
--- orig/test.c 1970-01-01 09:00:00.000000000 +0900
+++ patch/test.c 2010-11-16 18:00:10.000000000 +0900
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+
+int main(void)
+{
+ //patched version code.
+ return 0;
+}

Jason Shin <h4hero>

 

(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 agruen (Posted a comment)
  • -unavailable- added by h4hero (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 Nov 2010 02:32:31 PM UTCagruenStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1