Re: Patch to reduce usage of tempnam()
- From: Pavel Machek <pavel ucw cz>
- To: Pavel Roskin <proski gnu org>, mc-devel gnome org
- Subject: Re: Patch to reduce usage of tempnam()
- Date: Sat, 19 May 2001 20:15:07 +0200
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 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]