> I could tell it was doing something like that, looping auto_shutdown,
> etc,  unfortunately I couldn't figure out how to get it to stop. Like I
> said, I'm clueless when it comes to signals. After going through man
> signal, the best thing I can find is SIG_IGN.
> Where would I need to put sig_ign though? In comm (where init_signal is
> at), or act_wiz2 (where auto_shutdown's at). And how would I go about
> using it?? Just call SIG_IGN?? Like I said I've got no clue when I'm
> dealing with signals whatsoever.
> Sorry to be such a bother.

Look at SIG_DFL, sigaction, and raise.   Also, are you tracking the number
of times you are in the function?  After so many attempts, you should just
bail completely, do a full shutdown and try to recover corrupt pfiles.  If
you want, I can send you my halt_mud function for you to look at.  I got
it from a signal handler snippet I saw years ago, and has been slightly
modified to do copyovers, and gdb core analysis.
Jef




Reply via email to