This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlio.c, PerlIO_tmpfile: Fall back to cwd if we have no /tmp or $TMPDIR
authorBrian Fraser <fraserbn@gmail.com>
Wed, 22 Jan 2014 01:45:17 +0000 (22:45 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Wed, 22 Jan 2014 01:45:17 +0000 (22:45 -0300)
commitb7561fc9bc645b8c7e0e9ebbb29349113cb716c1
tree97d66776c5d59056b1cbfdf02e64bae84e68be35
parent8a064057e2281eb2b0cca29e1f1046df752abfe1
perlio.c, PerlIO_tmpfile: Fall back to cwd if we have no /tmp or $TMPDIR

With this, open($fh, undef) will now work on systems without
a /tmp (or equivalent) where TMPDIR is not set.
perlio.c