On Mon, Feb 04, 2002 at 10:00:23AM -0600, Tom Whiting wrote:
> Greetings, list
> A rather intriguing situation has come up just the past few days and I
> can't for the life of me figure out why.
> Every once in a while, on random, when I run a copyover, it's not
> restored from correctly at all.. Instead, I get spammed with this in
> whatever log file:
> Write_to_descriptor: Bad file descriptor
> Write_to_descriptor: Bad file descriptor
> Write_to_descriptor: Bad file descriptor
> Write_to_descriptor: Bad file descriptor
> Write_to_descriptor: Bad file descriptor
> Write_to_descriptor: Bad file descriptor

If a write_to_descriptor() call fails, you should close the descriptor
and not do anything else with it anymore.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to