Changeset 93 in Main


Ignore:
Timestamp:
Sep 19, 2024, 10:16:28 PM (8 weeks ago)
Author:
Nishi
Message:

fix select

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/main.c

    r92 r93  
    7676#endif
    7777
    78 void sig(int sign){
    79         printf("%d\n", sign);
    80         exit(0);
    81 }
    82 
    8378int main(int argc, char** argv) {
    8479        logfile = stderr;
     
    150145        signal(SIGCHLD, SIG_IGN);
    151146        signal(SIGPIPE, SIG_IGN);
    152         signal(SIGCONT, SIG_IGN);
    153         for(i = 1; i < 32; i++) signal(i, sig);
     147        signal(SIGTRAP, SIG_IGN);
    154148#else
    155149        SetConsoleTitle(tw_server);
Note: See TracChangeset for help on using the changeset viewer.