Changeset 2341 for zzuf


Ignore:
Timestamp:
May 19, 2008, 1:24:46 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Add SIGPIPE to the list of crashing signals.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/zzuf.c

    r2333 r2341  
    855855    switch(signum)
    856856    {
    857         case SIGABRT:  return " (SIGABRT)";
    858         case SIGFPE:   return " (SIGFPE)";
    859         case SIGILL:   return " (SIGILL)";
    860857#ifdef SIGQUIT
    861         case SIGQUIT:  return " (SIGQUIT)";
    862 #endif
    863         case SIGSEGV:  return " (SIGSEGV)";
     858        case SIGQUIT:  return " (SIGQUIT)"; /* 3 */
     859#endif
     860        case SIGILL:   return " (SIGILL)";  /* 4 */
    864861#ifdef SIGTRAP
    865         case SIGTRAP:  return " (SIGTRAP)";
     862        case SIGTRAP:  return " (SIGTRAP)"; /* 5 */
     863#endif
     864        case SIGABRT:  return " (SIGABRT)"; /* 6 */
     865#ifdef SIGBUS
     866        case SIGBUS:   return " (SIGBUS)";  /* 7 */
     867#endif
     868        case SIGFPE:   return " (SIGFPE)";  /* 8 */
     869        case SIGSEGV:  return " (SIGSEGV)"; /* 11 */
     870        case SIGPIPE:  return " (SIGPIPE)"; /* 13 */
     871#ifdef SIGEMT
     872        case SIGEMT:   return " (SIGEMT)";  /* ? */
     873#endif
     874#ifdef SIGXCPU
     875        case SIGXCPU:  return " (SIGXCPU)"; /* 24 */
     876#endif
     877#ifdef SIGXFSZ
     878        case SIGXFSZ:  return " (SIGXFSZ)"; /* 25 */
    866879#endif
    867880#ifdef SIGSYS
    868         case SIGSYS:   return " (SIGSYS)";
    869 #endif
    870 #ifdef SIGEMT
    871         case SIGEMT:   return " (SIGEMT)";
    872 #endif
    873 #ifdef SIGBUS
    874         case SIGBUS:   return " (SIGBUS)";
    875 #endif
    876 #ifdef SIGXCPU
    877         case SIGXCPU:  return " (SIGXCPU)";
    878 #endif
    879 #ifdef SIGXFSZ
    880         case SIGXFSZ:  return " (SIGXFSZ)";
     881        case SIGSYS:   return " (SIGSYS)";  /* 31 */
    881882#endif
    882883    }
Note: See TracChangeset for help on using the changeset viewer.