Hi,
> 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.
[1]
http://x86overflow.blogspot.in/2014/05/playing-around-with-getcwd-readpath-and.html
Cheers,
-- zm
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel