Unlink PerlIO's tempfiles for the case of no -T, but bogus $ENV{TMPDIR}
authorNicholas Clark <nick@ccl4.org>
Thu, 7 Jan 2010 14:22:39 +0000 (14:22 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 7 Jan 2010 14:22:39 +0000 (14:22 +0000)
commit7299ca586a6a78a40081a6e7e2e94c3b1a8aa538
treeebb86caff5956dc6188981de9ab92d9a230cd3f6
parentc1bf414cd50bd38fc03b19662a57f8bcb9008994
Unlink PerlIO's tempfiles for the case of no -T, but bogus $ENV{TMPDIR}

When -T is enabled, or when $ENV{TMPDIR} is bogus, perlio.c used a pathname
matching </tmp/PerlIO_??????>. However, it was only correctly unlinking the
file for the case of -T enabled.
perlio.c
t/io/perlio.t