commit | 5d845e37b509032a3154b419e2b332a3bf6101f6 | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Fri Nov 08 10:06:54 2013 +0000 |
committer | Andrew Price <anprice@redhat.com> | Fri Nov 08 10:13:30 2013 +0000 |
tree | d5fd4055aec7edf231b4f49224222c21fdb25fa3 | |
parent | 50392c7ff8deede0f3500e99d1d2d401c34af21b [diff] |
Fix processing of trace filenames containing spaces blktrace_to_dump passes filenames containing spaces to blkparse via system() so only the first chunk of the string is taken to be the filename by the subprocess. This switches to using posix_spawnp() so that we can present the filename as an element of argv and avoid iowatcher failing in these cases. Signed-off-by: Andrew Price <anprice@redhat.com>