ben 97/06/29 10:38:03
Modified: src mod_include.c Log: Fix VC++ warnings. Revision Changes Path 1.38 +5 -3 apache/src/mod_include.c Index: mod_include.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_include.c,v retrieving revision 1.37 retrieving revision 1.38 diff -C3 -r1.37 -r1.38 *** mod_include.c 1997/06/28 21:58:42 1.37 --- mod_include.c 1997/06/29 17:38:02 1.38 *************** *** 606,613 **** int child_pid = 0; #ifdef DEBUG_INCLUDE_CMD FILE *dbg = fopen ("/dev/tty", "w"); ! #endif char err_string [MAX_STRING_LEN]; #ifdef DEBUG_INCLUDE_CMD #ifdef __EMX__ --- 606,615 ---- int child_pid = 0; #ifdef DEBUG_INCLUDE_CMD FILE *dbg = fopen ("/dev/tty", "w"); ! #endif ! #ifndef WIN32 char err_string [MAX_STRING_LEN]; + #endif #ifdef DEBUG_INCLUDE_CMD #ifdef __EMX__ *************** *** 1861,1872 **** int xbithack_handler (request_rec *r) { - enum xbithack *state; - #if defined(__EMX__) || defined(WIN32) /* OS/2 dosen't currently support the xbithack. This is being worked on. */ return DECLINED; #else if (!(r->finfo.st_mode & S_IXUSR)) return DECLINED; state = (enum xbithack *)get_module_config(r->per_dir_config, --- 1863,1874 ---- int xbithack_handler (request_rec *r) { #if defined(__EMX__) || defined(WIN32) /* OS/2 dosen't currently support the xbithack. This is being worked on. */ return DECLINED; #else + enum xbithack *state; + if (!(r->finfo.st_mode & S_IXUSR)) return DECLINED; state = (enum xbithack *)get_module_config(r->per_dir_config,