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

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to