adaptivecomputing/torque — pull request #193 by mattaezell (2013-10-14 16:20:47+00:00)
Title: TRQ-2289 - Queues disappeared

- Make sure to check the return code of close() calls

Some file systems (particularly NFS) do not report errors until the close()

- Change to rename() instead of unlink(), link(), and unlink()

Renames should be atomic, but a server crash between the first unlink() and the link() will prevent the server from coming up correctly.