]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Teach pmcannotate about $TMPDIR and _PATH_TMP
authorAndrew Gallatin <gallatin@FreeBSD.org>
Fri, 18 May 2018 14:14:04 +0000 (14:14 +0000)
committerAndrew Gallatin <gallatin@FreeBSD.org>
Fri, 18 May 2018 14:14:04 +0000 (14:14 +0000)
commitb4cc08389a71b3be019343d37781950b02f16c7b
treefe09d2ca8e9e18877f500087e6f0dca640cec7d9
parentf097a19eabbf84af430a3d804b0b7ce1e7403532
Teach pmcannotate about $TMPDIR and _PATH_TMP

Convert pmcannotate to using $TMPDIR and _PATH_TMP rather than hard
coding /tmp for temporary files.  Pmcannotate sometimes needs quite a
lot of space to store the output from objdump, and will fail in odd
ways if that output is truncated due to lack of space in /tmp.

Reviewed by: jtl
Sponsored by: Netflix
usr.sbin/pmcannotate/pmcannotate.c