nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] extensions on tmp filenames?

2014-02-01 19:11:15
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
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>