Changes in unix.c [7b23afd:21d09ac]
Legend:
- Unmodified
- Added
- Removed
-
unix.c
r7b23afd r21d09ac 36 36 37 37 static void sighandler( int signal ); 38 gboolean bitlbee_dirty_workaround( gpointer data );39 38 40 39 int main( int argc, char *argv[] ) … … 48 47 49 48 log_init( ); 50 51 nogaim_init(); 52 49 nogaim_init( ); 50 53 51 CONF_FILE = g_strdup( CONF_FILE_DEF ); 54 52 … … 96 94 log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE ); 97 95 98 /* Workaround against runaway problems. Bah, this is really dirty,99 but in the end not really different from the <=0.91 situation,100 which makes it an acceptable temporary "solution". */101 // g_timeout_add( 0, bitlbee_dirty_workaround, NULL );102 103 96 g_main_run( global.loop ); 104 97 105 98 return( 0 ); 106 99 } 107 108 gboolean bitlbee_dirty_workaround( gpointer data )109 {110 usleep( 50000 );111 return( TRUE );112 }113 114 void proxyprofiler_dump();115 100 116 101 static void sighandler( int signal ) … … 142 127 } 143 128 } 144 #ifdef PROXYPROFILER145 else if( signal == SIGXCPU )146 {147 write_io_activity();148 proxyprofiler_dump();149 log_message( LOGLVL_ERROR, "Received SIGXCPU, dumping some debugging info." );150 exit( 1 );151 }152 #endif153 129 else if( signal != SIGPIPE ) 154 130 {
Note: See TracChangeset
for help on using the changeset viewer.