Closed dod38fr closed 7 years ago
This patch replaces the call to POSIX::tmpnam with a call to File::Temp. This call is deprecated and will break with perl 26.
File::Temp object handles file cleanup when the object is destroyed, so the call to unlink($filename) is no longer needed.
While I was at it, I've replaced a call to POSIX::_exit with good old die, so frozen-bubble no longer depends on POSIX.
This patch also fixes debian bug #866321 and will be shortly applied to Debian version of frozen-bubble.
Instructions to test this patch are shown there
All the best
Thank you very much Dominique.
This patch replaces the call to POSIX::tmpnam with a call to File::Temp. This call is deprecated and will break with perl 26.
File::Temp object handles file cleanup when the object is destroyed, so the call to unlink($filename) is no longer needed.
While I was at it, I've replaced a call to POSIX::_exit with good old die, so frozen-bubble no longer depends on POSIX.
This patch also fixes debian bug #866321 and will be shortly applied to Debian version of frozen-bubble.
Instructions to test this patch are shown there
All the best