[Bug 1245437] [NEW] patch --dry-run creates directories
Aapo Rantalainen
1245437 at bugs.launchpad.net
Mon Oct 28 11:07:06 UTC 2013
Public bug reported:
GNU patch 2.7.1
Steps:
echo "--- /dev/null
+++ first/filename.txt
@@ -0,0 +1,2 @@
+line 1
+line 2" | patch -p0 --dry-run
Expected:
No modifications on file system
(if expectation is wrong, maybe documentation needs tuning)
Actually happens:
There are new directory: first
** Affects: patch (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to patch in Ubuntu.
https://bugs.launchpad.net/bugs/1245437
Title:
patch --dry-run creates directories
Status in “patch” package in Ubuntu:
New
Bug description:
GNU patch 2.7.1
Steps:
echo "--- /dev/null
+++ first/filename.txt
@@ -0,0 +1,2 @@
+line 1
+line 2" | patch -p0 --dry-run
Expected:
No modifications on file system
(if expectation is wrong, maybe documentation needs tuning)
Actually happens:
There are new directory: first
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/patch/+bug/1245437/+subscriptions
More information about the foundations-bugs
mailing list