Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
Seems the problem is in the format of a text file. The patch has Unix style line returnes. If convert to the Windows style then the bug will dissappear. But it is strange because original sources has Unix style line returnes too.
Application: patch.exe Version: 2.7.1 Backend: Cygwin 1.7.30_1
Steps to reproduce: 1. Before applying the patch extract the archive to the log4cxx_1 subfolder in the same directory where the apache-log4cxx-0.10.0 folder is (in my case it was the "apache" folder). 2. make the "apache-log4cxx-0.10.0/.." folder current 3. run the patch as "patch -i apache-log4cxx-0.10.0-win7-x64.patch"
Output: can't find file to patch at input line 5 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Binary files apache-log4cxx-0.10.0\open.obj and log4cxx_1\apache-log4cxx-0.10.0\open.obj differ |diff -rupN apache-log4cxx-0.10.0\src\ant\apr-build.xml log4cxx_1\apache-log4cxx-0.10.0\src\ant\apr-build.xml |--- apache-log4cxx-0.10.0\src\ant\apr-build.xml Tue Apr 01 06:33:52 2008 |+++ log4cxx_1\apache-log4cxx-0.10.0\src\ant\apr-build.xml Wed Jul 07 16:19:00 2010 -------------------------- File to patch:
Seems the patch utility can't find the file but it is actually exists.
I have tested the version 2.5.8 under the Cygwin 1.5.25-15 and found that it does not have what kind of behaviour. Is that a bug?
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
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.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 2 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.10