Re: Patch to reduce usage of tempnam()


> 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.

I'm pavel ucw cz  "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss linmodems org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]