Patch to reduce usage of tempnam()
Pavel Machek
pavel at ucw.cz
Sat May 19 18:15:07 UTC 2001
Hi!
> The difference is that mc_mkstemps creates the template for you and even
> adds the directory name (/tmp or $TMPDIR if set). It can be changed to
> call the native mkstemps if it's available.
Patch looks good, except I'm not sure it is good idea to cache
location of /tmp. getenv() should be pretty fast function.
Pavel
--
I'm pavel at ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss at linmodems.org
More information about the mc-devel
mailing list