Re: Too many open files: newsx 1.4pl8
Andreas Metzler <[email protected]> Sat, 11 Jan 2003 09:32:07 +0100
| Newsgroups | gmane.network.newsx |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 10, 2003 at 11:12:15PM +0100, Egil Kvaleberg wrote:
[...]
> Since the filename returned by mktemp() is not used in an open(), but
> rather in a rename(), I think much of the problems with mktemp() does
> not apply. Certainly, on a machine where you do not allow possibly
> "aggressive" users, I'm quite sure mktemp() is quite all right.
[...]
I have not taken a look at the code, but assuming that newsx does not
run on systems with "aggressive" users sounds wrong to me.
BTW quoting mkstemp(3)
| Don't use this function, use tmpfile(3) instead. It's better
| defined and more portable.
just my two cents. cu andreas
-----------------------------------------------------------------------
This message has been sent to you because you are subcribed to the mailing
list [email protected]. To remove yourself from this lists, send an email to
[email protected] containing "unsubscribe newsx <your_email_address>"
in the message body.