e0e2de7
PURPOSE of /CoreOS/patch/Regression/Regression-wrong-name-used-when-adding-new-file
e0e2de7
Description: Test for Regression: wrong name used when adding new file
e0e2de7
Author: Karel Srot <ksrot@redhat.com>
e0e2de7
Bug summary: Regression: wrong name used when adding new file
e0e2de7
e0e2de7
Description:
e0e2de7
e0e2de7
+++ This bug was initially created as a clone of Bug #549122 +++
e0e2de7
e0e2de7
Description of problem:
e0e2de7
Regression: Suffix inside of new files of patch files are added to new files.
e0e2de7
Take http://cvs.fedoraproject.org/viewvc/devel/popt/popt-1.13-multilib.patch
e0e2de7
for example for reproducing:
e0e2de7
e0e2de7
With patch-2.6-1, "%patch0 -p1 -b .multilib" causes:
e0e2de7
-rw-r--r-- 1 tux tux 256 Dec 20 15:26 footer_no_timestamp.html.multilib
e0e2de7
-rw-r--r-- 1 tux tux   0 Dec 20 15:26 footer_no_timestamp.html.multilib.multilib
e0e2de7
e0e2de7
-rw-r--r-- 1 tux tux 51543 Dec 20 15:26 Doxyfile.in
e0e2de7
-rw-r--r-- 1 tux tux 51519 May 25  2007 Doxyfile.in.multilib
e0e2de7
e0e2de7
With patch-2.5.4-36, "%patch0 -p1 -b .multilib" causes:
e0e2de7
-rw-r--r-- 1 tux tux 256 Dec 20 15:32 footer_no_timestamp.html
e0e2de7
---------- 1 tux tux   0 Dec 20 15:32 footer_no_timestamp.html.multilib
e0e2de7
e0e2de7
-rw-r--r-- 1 tux tux 51543 Dec 20 15:32 Doxyfile.in
e0e2de7
-rw-r--r-- 1 tux tux 51519 May 25  2007 Doxyfile.in.multilib
e0e2de7
e0e2de7
You see what I mean? If the file is created by the patch file, the suffix
e0e2de7
inside of the patch is appended to the new created file. That behaviour has
e0e2de7
been introduced with the new version and it looks like a regression to me.
e0e2de7
e0e2de7
Version-Release number of selected component (if applicable):
e0e2de7
patch-2.6-1
e0e2de7
patch-2.5.4-36
e0e2de7
e0e2de7
How reproducible:
e0e2de7
Everytime, see above.
e0e2de7
e0e2de7
Actual results:
e0e2de7
Regression: Suffixes inside of patches at new files are added to new files
e0e2de7
e0e2de7
Expected results:
e0e2de7
Good old behaviour like at patch-2.5.4-36.
e0e2de7
e0e2de7
--- Additional comment from twaugh@redhat.com on 2009-12-21 05:17:27 EDT ---
e0e2de7
e0e2de7
Verified.
e0e2de7
e0e2de7
Affects F-12 and F-11 as well.
e0e2de7
e0e2de7
--- Additional comment from twaugh@redhat.com on 2009-12-21 11:44:02 EDT ---
e0e2de7
e0e2de7
Reported upstream:
e0e2de7
  https://savannah.gnu.org/bugs/index.php?28367