mschilli/log4perl — pull request #39 by MidLifeXis (2014-02-27 16:00:41+00:00)
Title: Windows unlink race condition

Under windows, it appears that a log file is being held open, prohibiting an unlink on that file to succeed, even in the case where an END block has been defined after Log::Log4perl has been loaded, and the L4P system has been initialized.

If the ```END { unlink $logfile }``` block is defined before the L4P system is loaded, then the END blocks are stacked correctly, allowing for the proper cleanup of the log files.

This pull updates failing tests to properly order the END blocks, and provides an example test to exercise the race condition under L4P_ALL_TESTS.

I am not certain that there is a good fix for this issue. Any ideas are appreciated.