[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch doesn't handle filenames with spaces (fwd)
From: |
Adrian Bunk |
Subject: |
patch doesn't handle filenames with spaces (fwd) |
Date: |
Sun, 3 Jun 2001 20:40:58 +0200 (CEST) |
Hi Paul,
I got the bug report below for the Debian package of patch.
cu
Adrian
---------- Forwarded message ----------
Date: Sun, 3 Jun 2001 03:05:47 -0500 (CDT)
From: Adam Heath <address@hidden>
Subject: Bug#99808: patch doesn't handle filenames with spaces
package: patch
version: 2.5.4-3
yakko:/ram0/test# echo 1 > s\ 1
yakko:/ram0/test# echo 2 > s\ 2
yakko:/ram0/test# diff -u s\ 1 s\ 2
--- s 1 Sun Jun 3 13:22:10 2001
+++ s 2 Sun Jun 3 13:22:12 2001
@@ -1 +1 @@
-1
+2
yakko:/ram0/test# diff -u s\ 1 s\ 2 |patch --dry-run
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- s 1 Sun Jun 3 13:22:10 2001
|+++ s 2 Sun Jun 3 13:22:12 2001
--------------------------
File to patch:
Note, the generated diff doesn't differentiate that internal space. I am also
filing a bug on diff, as both will have to have some kind of escape
mechanism.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch doesn't handle filenames with spaces (fwd),
Adrian Bunk <=