cvs commit: apache-2.0/src/include ap_ac_config.h
rbb 00/02/10 15:16:14 Modified:src/include ap_ac_config.h Log: We need to make sure we are using signals that interrupt system calls. This was keeping graceful restart from working in the prefork MPM. Currently, this is a real hack, but I am hoping to get a better fix in place tomorrow. Revision ChangesPath 1.8 +2 -0 apache-2.0/src/include/ap_ac_config.h Index: ap_ac_config.h === RCS file: /home/cvs/apache-2.0/src/include/ap_ac_config.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ap_ac_config.h2000/01/21 01:25:24 1.7 +++ ap_ac_config.h2000/02/10 23:16:12 1.8 @@ -231,4 +231,6 @@ #undef USE_MMAP_FILES #endif +#define signal(s, f)ap_signal(s, f) + #endif /* AP_AC_CONFIG_H */
cvs commit: apache-2.0/src/include ap_ac_config.h
manoj 99/12/05 00:29:27 Modified:src/include ap_ac_config.h Log: Apache code expects ap_config.h to include string.h. Make the autoconfed ap_config.h do this. Revision ChangesPath 1.3 +1 -0 apache-2.0/src/include/ap_ac_config.h Index: ap_ac_config.h === RCS file: /home/cvs/apache-2.0/src/include/ap_ac_config.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -u -r1.2 -r1.3 --- ap_ac_config.h1999/12/01 05:09:17 1.2 +++ ap_ac_config.h1999/12/05 08:29:27 1.3 @@ -74,6 +74,7 @@ #ifdef STDC_HEADERS #include stdlib.h +#include string.h #endif #ifdef HAVE_SYS_TYPES_H
cvs commit: apache-2.0/src/include ap_ac_config.h
manoj 99/11/30 21:09:19 Modified:src/include ap_ac_config.h Log: Autoconf's configure script will tell us which types select is looking for; we might as well take advantage of it. Revision ChangesPath 1.2 +4 -3 apache-2.0/src/include/ap_ac_config.h Index: ap_ac_config.h === RCS file: /home/cvs/apache-2.0/src/include/ap_ac_config.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -u -r1.1 -r1.2 --- ap_ac_config.h1999/12/01 01:16:04 1.1 +++ ap_ac_config.h1999/12/01 05:09:17 1.2 @@ -149,10 +149,11 @@ /* XXX - This probably doesn't handle OS/2 */ #ifdef SELECT_NEEDS_CAST #define ap_select(_a, _b, _c, _d, _e) \ -select((_a), (int *)(_b), (int *)(_c), (int *)(_d), (_e)) +select((SELECT_TYPE_ARG1)(_a), (SELECT_TYPE_ARG234)(_b), \ + (SELECT_TYPE_ARG234)(_c), (SELECT_TYPE_ARG234)(_d), \ + (SELECT_TYPE_ARG5)(_e)) #else -#define ap_select(_a, _b, _c, _d, _e) \ - select(_a, _b, _c, _d, _e) +#define ap_select(_a, _b, _c, _d, _e) select(_a, _b, _c, _d, _e) #endif /* So that we can use inline on some critical functions, and use
Re: cvs commit: apache-2.0/src/include ap_ac_config.h
On 1 Dec 1999 [EMAIL PROTECTED] wrote: manoj 99/11/30 21:09:19 Modified:src/include ap_ac_config.h Log: Autoconf's configure script will tell us which types select is looking for; we might as well take advantage of it. We shouldn't be using select anymore in Apache. It should be using ap_poll, and ap_poll will figure out how to use select. So, this whole check shouldn't be necessary. Ryan ___ Ryan Bloom [EMAIL PROTECTED] 4205 S Miami Blvd RTP, NC 27709 It's a beautiful sight to see good dancers doing simple steps. It's a painful sight to see beginners doing complicated patterns.