use different tame requests if TMPDIR is in env:
authorsemarie <semarie@openbsd.org>
Mon, 5 Oct 2015 15:42:54 +0000 (15:42 +0000)
committersemarie <semarie@openbsd.org>
Mon, 5 Oct 2015 15:42:54 +0000 (15:42 +0000)
commitc31f148d21f4f20a5abf9da2bf779b4c411c42c1
tree2ad5e84d3172b5f2c1507b24c6c3ddacf841911a
parente9caadac4e0da6f0212a0972e07d5d296f37797f
use different tame requests if TMPDIR is in env:
- tmppath for when mktemp() operates in /tmp proper
- cpath+wpath for use of $TMPDIR

based on log-message from previous commit

ok deraadt@
usr.bin/diff/diff.c