OSDN Git Service

* version up.
authorAtsushi Konno <konn@users.sourceforge.jp>
Sun, 27 Feb 2011 12:29:21 +0000 (21:29 +0900)
committerAtsushi Konno <konn@users.sourceforge.jp>
Sun, 27 Feb 2011 12:29:21 +0000 (21:29 +0900)
    - 0.12.38rc8 -> 0.12.38rc9
    - for LOAD

configure
configure.ac
include/config.h
src/chxj_img_conv_format.c
src/chxj_load_device_data.c
src/chxj_specified_device.c
src/mod_chxj.c
support/centos/mod-chxj.spec

index 5ca5597..deb9081 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for mod_chxj 0.12.38rc8.
+# Generated by GNU Autoconf 2.61 for mod_chxj 0.12.38rc9.
 #
 # Report bugs to <konn@users.sourceforge.jp>.
 #
@@ -728,8 +728,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 PACKAGE_NAME='mod_chxj'
 PACKAGE_TARNAME='mod_chxj'
-PACKAGE_VERSION='0.12.38rc8'
-PACKAGE_STRING='mod_chxj 0.12.38rc8'
+PACKAGE_VERSION='0.12.38rc9'
+PACKAGE_STRING='mod_chxj 0.12.38rc9'
 PACKAGE_BUGREPORT='konn@users.sourceforge.jp'
 
 ac_unique_file="src/mod_chxj.c"
@@ -1411,7 +1411,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures mod_chxj 0.12.38rc8 to adapt to many kinds of systems.
+\`configure' configures mod_chxj 0.12.38rc9 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1482,7 +1482,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of mod_chxj 0.12.38rc8:";;
+     short | recursive ) echo "Configuration of mod_chxj 0.12.38rc9:";;
    esac
   cat <<\_ACEOF
 
@@ -1600,7 +1600,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-mod_chxj configure 0.12.38rc8
+mod_chxj configure 0.12.38rc9
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1614,7 +1614,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by mod_chxj $as_me 0.12.38rc8, which was
+It was created by mod_chxj $as_me 0.12.38rc9, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -2432,7 +2432,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=mod_chxj
- VERSION=0.12.38rc8
+ VERSION=0.12.38rc9
 
 
 cat >>confdefs.h <<_ACEOF
@@ -22602,7 +22602,7 @@ exec 6>&1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by mod_chxj $as_me 0.12.38rc8, which was
+This file was extended by mod_chxj $as_me 0.12.38rc9, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -22655,7 +22655,7 @@ Report bugs to <bug-autoconf@gnu.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-mod_chxj config.status 0.12.38rc8
+mod_chxj config.status 0.12.38rc9
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
index 2271b86..bb02117 100644 (file)
@@ -1,6 +1,6 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
-AC_INIT([mod_chxj],[0.12.38rc8],[konn@users.sourceforge.jp])
+AC_INIT([mod_chxj],[0.12.38rc9],[konn@users.sourceforge.jp])
 AC_PREREQ(2.59)
 AC_CONFIG_SRCDIR([src/mod_chxj.c])
 AC_CANONICAL_TARGET
index eb3db8e..6864537 100644 (file)
 #define PACKAGE_NAME "mod_chxj"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mod_chxj 0.12.38rc8"
+#define PACKAGE_STRING "mod_chxj 0.12.38rc9"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "mod_chxj"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "0.12.38rc8"
+#define PACKAGE_VERSION "0.12.38rc9"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
 /* Version number of package */
-#define VERSION "0.12.38rc8"
+#define VERSION "0.12.38rc9"
 
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
index 3139f4a..b6b9387 100644 (file)
@@ -511,7 +511,7 @@ s_create_cache_file(request_rec          *r,
     /*------------------------------------------------------------------------*/
     rv = apr_file_open(&fin, 
                     r->filename, 
-                    APR_READ|APR_BINARY ,
+                    APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED,
                     APR_OS_DEFAULT, 
                     r->pool);
     if (rv != APR_SUCCESS) {
@@ -808,8 +808,8 @@ s_create_cache_file(request_rec          *r,
 
   /* to cache */
   rv = apr_file_open(&fout, tmpfile,
-                  APR_WRITE| APR_CREATE | APR_BINARY | APR_SHARELOCK ,APR_OS_DEFAULT,
-                  r->pool);
+                  APR_FOPEN_WRITE| APR_FOPEN_CREATE | APR_FOPEN_BINARY | APR_SHARELOCK ,
+                  APR_OS_DEFAULT, r->pool);
   if (rv != APR_SUCCESS) {
     DestroyMagickWand(magick_wand);
     ERR(r,"file open error.[%s]", tmpfile);
@@ -1675,7 +1675,8 @@ s_send_cache_file(device_table *spec, query_string_param_t *query_string, reques
       }
     }
     rv = apr_file_open(&fout, tmpfile, 
-      APR_READ | APR_BINARY, APR_OS_DEFAULT, r->pool);
+      APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, 
+      APR_OS_DEFAULT, r->pool);
     if (rv != APR_SUCCESS) {
       DBG(r, "cache file open failed[%s]", tmpfile);
       return HTTP_NOT_FOUND;
@@ -1731,7 +1732,8 @@ s_send_cache_file(device_table *spec, query_string_param_t *query_string, reques
       DBG(r, "Content-Length:[%d]", (int)st.size);
 
       rv = apr_file_open(&fout, tmpfile, 
-        APR_READ | APR_BINARY, APR_OS_DEFAULT, r->pool);
+        APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, 
+        APR_OS_DEFAULT, r->pool);
 
       if (rv != APR_SUCCESS) {
         DBG(r,"tmpfile open failed[%s]", tmpfile);
@@ -1770,7 +1772,8 @@ s_send_original_file(request_rec *r, const char *originalfile)
   }
 
   rv = apr_file_open(&fout, originalfile, 
-    APR_READ | APR_BINARY, APR_OS_DEFAULT, r->pool);
+    APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, 
+    APR_OS_DEFAULT, r->pool);
   if (rv != APR_SUCCESS) {
     DBG(r, "originalfile open failed[%s]", originalfile);
     return HTTP_NOT_FOUND;
index 07de3e7..48f15ef 100644 (file)
@@ -516,7 +516,8 @@ s_sort_table_compare(const void *a, const void *b)
 {
   device_table *aa = *(device_table **)a;
   device_table *bb = *(device_table **)b;
-  return strcasecmp(aa->device_id, bb->device_id);
+  /* not strcasecmp. for LOAD */
+  return strcmp(aa->device_id, bb->device_id);
 }
 
 /*
index 4a4436d..e92ff59 100644 (file)
@@ -150,7 +150,8 @@ s_compar(const void *a, const void *b)
 #if 0
 {FILE *fp=fopen("/tmp/erer.log","a");fprintf(fp, "aa[%s] vs bb[%s]\n", aa->device_id, bb->device_id); fclose(fp);}
 #endif
-  return strcasecmp(aa->device_id, bb->device_id);
+  /* Not strcasecmp. for LOAD */
+  return strcmp(aa->device_id, bb->device_id);
 }
 static device_table *
 s_get_device_data(request_rec *r, const char *device_id, device_table_list *dtl)
index c241eb5..4505b1c 100644 (file)
@@ -257,7 +257,7 @@ chxj_headers_fixup(request_rec *r)
 
   }
 
-  char *x_client_type = apr_table_get(r->headers_out, "X-Client-Type");
+  char *x_client_type = (char *)apr_table_get(r->headers_out, "X-Client-Type");
   apr_table_unset(r->headers_out, "X-Client-Type");
   if (x_client_type) {
     apr_table_setn(r->headers_in, "X-Client-Type", x_client_type);
index ff65b13..3ebad63 100644 (file)
@@ -1,4 +1,4 @@
-%define version 0.12.38rc8
+%define version 0.12.38rc9
 
 Summary: CHTML to HDML,XHTML,JHTML convert module for Apache HTTPD.
 Name:  mod_chxj