Pathnames followed by "..." when printed using printpathn

Zubin Mithra zubin.mithra at
Wed May 28 16:12:49 UTC 2014


> printpathn is designed for printing paths, and paths cannot be longer than
> MAXPATHLEN.  Longer arguments would result to ENAMETOOLONG anyway, so
> there is no need to print more than MAXPATHLEN.

I did a few tests yesterday for fun and I got a surprising result for
getcwd. I've written about this at [1]. However, yes, I can't quite think
of a system call that would accept such a long path name.


-- zm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Strace-devel mailing list