diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-07 15:55:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-07 19:48:59 +0100 |
commit | f08fe5b550d53c93b73c6295f8a85a8dcd4a1f4a (patch) | |
tree | 4f7d71f41b7e5160320bc0f03073d10bdca3cea5 /util/cairo-trace | |
parent | 750c1b5b48dcd33ba4a4d5290c50f564bf45bc58 (diff) |
[trace] Redirect stdout to /dev/null when compressing
Otherwise we mix in stdout in with the trace and prevent replay.
Diffstat (limited to 'util/cairo-trace')
-rw-r--r-- | util/cairo-trace/cairo-trace.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-trace/cairo-trace.in b/util/cairo-trace/cairo-trace.in index 26869702..8a1e1b81 100644 --- a/util/cairo-trace/cairo-trace.in +++ b/util/cairo-trace/cairo-trace.in @@ -104,7 +104,7 @@ if test -z "$nofile"; then CAIRO_TRACE_OUTDIR=`pwd` "$@" elif test -n "$compress"; then echo Generating compressed trace file $1.$$.lzma - CAIRO_TRACE_FD=3 "$@" 3>&1 | lzma -cz9 > $1.$$.lzma + CAIRO_TRACE_FD=3 "$@" 3>&1 >/dev/null | lzma -cz9 > $1.$$.lzma else CAIRO_TRACE_FD=3 "$@" 3>&1 >/dev/null fi |