projects
/
ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
f3c6d90
)
usttrace: allow spaces in command-line arguments
author
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Wed, 16 Nov 2011 12:17:21 +0000
(07:17 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 16 Nov 2011 12:17:21 +0000
(07:17 -0500)
The usttrace uses $*, which expands arguments without preserving their
boundaries. This causes arguments that include spaces to be mangled:
[0] "echo"
[1] "hello world"
becomes:
[0] "echo"
[1] "hello"
[2] "world"
Use "$@" instead so that argument boundaries are preserved.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
No differences found
This page took
0.034462 seconds
and
4
git commands to generate.