Use tempnam not tmpnam for pmprintf temporary filename generation.
This provides better control over tmpfile placement, and has much
better behaviour in general under Win32 conditions - doesn't make
tmp files in the root, addressing part of bugzilla bug #838.
This is a modified version of Ken's patch, originally addressing
issues (probably drive root directory permissions) on Vista.
Use tempnam not tmpnam for pmprintf temporary filename generation.
This provides better control over tmpfile placement, and has much
better behaviour in general under Win32 conditions - doesn't make
tmp files in the root, addressing part of bugzilla bug #838.
This is a modified version of Ken's patch, originally addressing
issues (probably drive root directory permissions) on Vista.