pcs         98/05/09 06:23:58

  Modified:    src/main http_main.c
  Log:
  Win32 does not have kill(). Use raise() instead.
  
  Revision  Changes    Path
  1.344     +4 -0      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.343
  retrieving revision 1.344
  diff -u -r1.343 -r1.344
  --- http_main.c       1998/05/09 04:42:28     1.343
  +++ http_main.c       1998/05/09 13:23:56     1.344
  @@ -2211,7 +2211,11 @@
   {
       chdir(ap_coredump_dir);
       signal(sig, SIG_DFL);
  +#ifndef WIN32
       kill(getpid(), sig);
  +#else
  +    raise(sig);
  +#endif
       /* At this point we've got sig blocked, because we're still inside
        * the signal handler.  When we leave the signal handler it will
        * be unblocked, and we'll take the signal... and coredump or whatever
  
  
  

Reply via email to