apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject cvs commit: apr/threadproc/unix signals.c
Date Tue, 30 Apr 2002 01:25:38 GMT
fielding    02/04/29 18:25:38

  Modified:    .        CHANGES
               include  apr_signal.h apr_want.h
               threadproc/netware signals.c
               threadproc/unix signals.c
  Log:
  Remove APR_WANT_SIGNAL from apr_want.h because code must include
  apr_signal.h in order to get consistent definitions.  In general,
  apr_want.h is a bad idea and should be replaced with topic-specific
  header files.
  
  Revision  Changes    Path
  1.272     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.271
  retrieving revision 1.272
  diff -u -r1.271 -r1.272
  --- CHANGES	29 Apr 2002 08:45:12 -0000	1.271
  +++ CHANGES	30 Apr 2002 01:25:38 -0000	1.272
  @@ -1,5 +1,8 @@
   Changes with APR b1
   
  +  *) Remove APR_WANT_SIGNAL from apr_want.h because code must include
  +     apr_signal.h in order to get consistent definitions. [Roy Fielding]
  +
     *) Don't try to use /dev/zero and mmap on platforms that don't
        support that (such as HP-UX).  PR 8537.  [Justin Erenkrantz]
   
  
  
  
  1.12      +3 -3      apr/include/apr_signal.h
  
  Index: apr_signal.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_signal.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- apr_signal.h	27 Apr 2002 05:43:05 -0000	1.11
  +++ apr_signal.h	30 Apr 2002 01:25:38 -0000	1.12
  @@ -62,9 +62,9 @@
   #include "apr.h"
   #include "apr_pools.h"
   
  -#define APR_WANT_SIGNAL
  -#include "apr_want.h"
  -
  +#if APR_HAVE_SIGNAL_H
  +#include <signal.h>
  +#endif
   
   #ifdef __cplusplus
   extern "C" {
  
  
  
  1.9       +0 -13     apr/include/apr_want.h
  
  Index: apr_want.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_want.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- apr_want.h	13 Mar 2002 20:39:15 -0000	1.8
  +++ apr_want.h	30 Apr 2002 01:25:38 -0000	1.9
  @@ -64,7 +64,6 @@
    *   APR_WANT_MEMFUNC:  memcmp, memcpy, etc
    *   APR_WANT_STDIO:    <stdio.h> and related bits
    *   APR_WANT_IOVEC:    struct iovec
  - *   APR_WANT_SIGNAL:   signal numbers, functions, and types
    *   APR_WANT_BYTEFUNC: htons, htonl, ntohl, ntohs
    *
    * Typical usage:
  @@ -125,18 +124,6 @@
   #endif
   
   #undef APR_WANT_IOVEC
  -#endif
  -
  -/* --------------------------------------------------------------------- */
  -
  -#ifdef APR_WANT_SIGNAL
  -
  -#if APR_HAVE_SIGNAL_H
  -#include <signal.h>
  -#endif
  -/* ### some platforms may put this into unistd.h ?? */
  -
  -#undef APR_WANT_SIGNAL
   #endif
   
   /* --------------------------------------------------------------------- */
  
  
  
  1.5       +0 -3      apr/threadproc/netware/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/netware/signals.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- signals.c	13 Mar 2002 20:39:30 -0000	1.4
  +++ signals.c	30 Apr 2002 01:25:38 -0000	1.5
  @@ -59,9 +59,6 @@
   #include "apr_signal.h"
   #include "apr_strings.h"
   
  -#define APR_WANT_SIGNAL
  -#include "apr_want.h"
  -
   #include <assert.h>
   #if APR_HAS_THREADS && APR_HAVE_PTHREAD_H
   #include <pthread.h>
  
  
  
  1.45      +0 -3      apr/threadproc/unix/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/unix/signals.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- signals.c	19 Apr 2002 17:21:05 -0000	1.44
  +++ signals.c	30 Apr 2002 01:25:38 -0000	1.45
  @@ -59,9 +59,6 @@
   #include "apr_signal.h"
   #include "apr_strings.h"
   
  -#define APR_WANT_SIGNAL
  -#include "apr_want.h"
  -
   #include <assert.h>
   #if APR_HAS_THREADS && APR_HAVE_PTHREAD_H
   #include <pthread.h>
  
  
  

Mime
View raw message