|
From: | David Levine |
Subject: | Re: [Nmh-workers] extensions on tmp filenames? |
Date: | Sat, 01 Feb 2014 20:10:48 -0500 |
Oliver wrote: > You could use mkstemps to create the temporary file directly with a > suffix. The only problem is that it'd need a configure test for > mkstemps because at least Solaris 10 (but not 11) lacks it. Where > mkstemps is lacking, I'd just do the rename. Perfect! It even works on FAT filesystems. David
[Prev in Thread] | Current Thread | [Next in Thread] |