projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b83d289
)
copy: correct misuse of quote in diagnostic
author
Jeff Liu
<jeff.liu@oracle.com>
Mon, 2 May 2011 14:26:32 +0000
(16:26 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Tue, 3 May 2011 08:15:13 +0000
(10:15 +0200)
* src/copy.c (copy_reg): Multiple uses of quote (s) in an
argument list is erroneous. Use quote_n, instead.
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index
65566a0
..
186086e
100644
(file)
--- a/
src/copy.c
+++ b/
src/copy.c
@@
-975,7
+975,7
@@
copy_reg (char const *src_name, char const *dst_name,
if (!clone_ok)
{
error (0, errno, _("failed to clone %s from %s"),
- quote
(dst_name), quote (
src_name));
+ quote
_n (0, dst_name), quote_1 (1,
src_name));
return_val = false;
goto close_src_and_dst_desc;
}