I have just retried the compile, and everything is fine!

My mistake,  FreeBSD extracts the original package every time you do a make
and the changes I made to the #if statement got clobbered.

Sorry for the confusion.

Thanks All,
  Mark

-----Original Message-----
From: Egil Kvaleberg [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 3:12 PM
To: [EMAIL PROTECTED]
Subject: RE: Too many open files: newsx 1.4pl8


On Fri, 2003-01-10 at 22:57, Triebwasser, Mark wrote:
> Hmmm, I applied the temporary fix but the problem still exists.  

That is very strange indeed. Did I get this wrong? Try renaming all
occurrences of mkstemp to mktemp instead (there should only be one).

> I wait for
> the analysis.

I think the analysis for the cause of the problem is simple enough:

Due to some "bad press" wrt. use of the good old mktemp() function, the
mkstemp() function was (far too uncritically we know learn)
substitiuted. Bad move, since they are not the same. mkstemp() also
*opens* the file in question.

The analysis for the best solution remain. But:

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.

Anyway: I am still pretty sure that getting rid of mkstemp() should cure
the problem. Are you sure everything was compiled/linked/installed?

Egil
-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/
-----------------------------------------------------------------------
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.

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

Reply via email to