Changeset 21d09ac for unix.c


Ignore:
Timestamp:
2005-11-09T01:02:05Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2d99c97
Parents:
68b50b5f
Message:

Forgot to modify CHANGES again, and removed some more debugging code we don't
need anymore (and didn't want to have in a release in the first place...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r68b50b5f r21d09ac  
    3636
    3737static void sighandler( int signal );
    38 gboolean bitlbee_dirty_workaround( gpointer data );
    3938
    4039int main( int argc, char *argv[] )
     
    9594                log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE );
    9695       
    97         /* Workaround against runaway problems. Bah, this is really dirty,
    98            but in the end not really different from the <=0.91 situation,
    99            which makes it an acceptable temporary "solution". */
    100         // g_timeout_add( 0, bitlbee_dirty_workaround, NULL );
    101        
    10296        g_main_run( global.loop );
    10397       
    10498        return( 0 );
    10599}
    106 
    107 gboolean bitlbee_dirty_workaround( gpointer data )
    108 {
    109         usleep( 50000 );
    110         return( TRUE );
    111 }
    112 
    113 void proxyprofiler_dump();
    114100
    115101static void sighandler( int signal )
     
    141127                }
    142128        }
    143 #ifdef PROXYPROFILER
    144         else if( signal == SIGXCPU )
    145         {
    146                 write_io_activity();
    147                 proxyprofiler_dump();
    148                 log_message( LOGLVL_ERROR, "Received SIGXCPU, dumping some debugging info." );
    149                 exit( 1 );
    150         }
    151 #endif
    152129        else if( signal != SIGPIPE )
    153130        {
Note: See TracChangeset for help on using the changeset viewer.