- Timestamp:
- 2005-11-15T13:20:27Z (19 years ago)
- Branches:
- master
- Children:
- c998255, f56c491
- Parents:
- f7f3ada (diff), c1ede6e8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unix.c
rf7f3ada rb135438 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[] ) … … 96 95 log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE ); 97 96 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 97 g_main_run( global.loop ); 104 98 105 99 return( 0 ); 106 100 } 107 108 gboolean bitlbee_dirty_workaround( gpointer data )109 {110 usleep( 50000 );111 return( TRUE );112 }113 114 void proxyprofiler_dump();115 101 116 102 static void sighandler( int signal ) … … 142 128 } 143 129 } 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 130 else if( signal != SIGPIPE ) 154 131 {
Note: See TracChangeset
for help on using the changeset viewer.