pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:41:   #endif      char *master_file;      int d_flag=0;   int c_flag=0;   int t_flag=0;   int a_flag=0;   int l_flag=0;    - static struct callback_list *post_master_callbacks =0; + static struct callback *post_master_callbacks =0;    - struct callback_list *add_post_master_callback(struct array *a) + struct callback *add_post_master_callback(callback call, +  void *arg, +  callback free_func)   { -  return add_to_callback_list(&post_master_callbacks, a); +  return add_to_callback_list(&post_master_callbacks, call, arg, free_func);   }         void main(int argc, char **argv, char **env)   {    JMP_BUF back;    int e, num;    char *p;    struct array *a;   
pike.git/src/main.c:159: Inside #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)
   lim.rlim_cur=tmp;    setrlimit(RLIMIT_NOFILE, &lim);    }    }   #endif       current_time = get_current_time();       init_modules_efuns();    master(); -  call_and_free_callback_list(& post_master_callbacks); +  call_callback(& post_master_callbacks); +  free_callback(& post_master_callbacks);    init_modules_programs();       a=allocate_array_no_init(argc-e,0);    for(num=0;e<argc;e++)    {    ITEM(a)[num].u.string=make_shared_string(argv[e]);    ITEM(a)[num].type=T_STRING;    num++;    }    push_array(a);