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

 
 

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

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

Version 2.6.1 and later have this bug fixed.

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-16 agruen StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code