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
Previous by Date: | Re: [Nmh-workers] extensions on tmp filenames?, Oliver Kiddle |
---|---|
Next by Date: | Re: [Nmh-workers] extensions on tmp filenames?, Lyndon Nerenberg |
Previous by Thread: | Re: [Nmh-workers] extensions on tmp filenames?, Lyndon Nerenberg |
Next by Thread: | Re: [Nmh-workers] extensions on tmp filenames?, David Levine |
Indexes: | [Date] [Thread] [Top] [All Lists] |