[PATCH] Print absolute paths in printpathn when -yy is used

Zubin Mithra zubin.mithra at gmail.com
Tue Jun 10 04:59:19 UTC 2014


Hi Dmitry,


On Thu, Jun 5, 2014 at 4:49 PM,  <zubin.mithra at gmail.com> wrote:
> From: Zubin Mithra <zubin.mithra at gmail.com>
>
> * defs.h (show_fd_path): Change type to unsigned int.
> (get_tracee_cwd, print_abspath): New prototypes.
> * strace.c (show_fd_path): Update usage to count y flag.
> * util.c (get_tracee_cwd): New function.
> (printpathn): Update to use get_tracee_cwd and print
>   absolute path.
>

Does this patch look good?


Thanks,
-- zm




More information about the Strace-devel mailing list