apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/threadproc/netware signals.c
Date Mon, 06 Aug 2001 21:54:32 GMT
bnicholes    01/08/06 14:54:32

  Modified:    threadproc/netware signals.c
  Log:
  Added the NetWare supported signal descriptions
  
  Revision  Changes    Path
  1.2       +19 -1     apr/threadproc/netware/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/netware/signals.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- signals.c	2001/08/02 20:29:14	1.1
  +++ signals.c	2001/08/06 21:54:32	1.2
  @@ -90,7 +90,25 @@
   
   const char *apr_signal_get_description(int signum)
   {
  -    return "unknown signal (not supported)";
  +    switch (signum)
  +    {
  +    case SIGABRT:
  +        return "Abort";
  +    case SIGFPE:
  +        return "Arithmetic exception";
  +    case SIGILL:
  +        return "Illegal instruction";
  +    case SIGINT:
  +        return "Interrupt";
  +    case SIGSEGV:
  +        return "Segmentation fault";
  +    case SIGTERM:
  +        return "Terminated";
  +    case SIGPOLL:
  +        return "Pollable event occurred";
  +    default:
  +        return "unknown signal (not supported)";
  +    }
   }
   
   static void *signal_thread_func(void *signal_handler)
  
  
  

Mime
View raw message