On Tue, Feb 04, 2003 at 05:20:21PM +0100, Daouda LO wrote: > Yes the only constraints to use mkstemp is that the last 6 characters > of the target file should end with XXXXXX (to ensure the temporary > file will be unique). I double checked this. Besides this, the patch > was stolen from Redhat :p
That and the mktemp function returns the file name. While the mkstemp returns the file descriptor. Making switching any program using it to be a non-trivial situation. Because without changing the program you will run into a double open situation. But I would presume RedHat knows this. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org "America does not go abroad in search of monsters to destroy. She is the well-wisher to the freedom and independence of all. She is the champion only of her own." -- John Quincy Adams, July 4th, 1821
