httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From max...@apache.org
Subject svn commit: r357145 - in /httpd/mod_mbox/trunk: STATUS module-2.0/mbox_parse.c
Date Fri, 16 Dec 2005 09:10:59 GMT
Author: maxime
Date: Fri Dec 16 01:10:54 2005
New Revision: 357145

URL: http://svn.apache.org/viewcvs?rev=357145&view=rev
Log:
Avoid Solaris portability problem of strcasestr.

Modified:
    httpd/mod_mbox/trunk/STATUS
    httpd/mod_mbox/trunk/module-2.0/mbox_parse.c

Modified: httpd/mod_mbox/trunk/STATUS
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/trunk/STATUS?rev=357145&r1=357144&r2=357145&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/STATUS (original)
+++ httpd/mod_mbox/trunk/STATUS Fri Dec 16 01:10:54 2005
@@ -9,7 +9,7 @@
 Release showstoppers:
 
     * Awaiting release instructions.
-    * strcasestr is not portable.  Causing compiler errors on Solaris.
+    * Admin documentation.
 
 ToDo:
 

Modified: httpd/mod_mbox/trunk/module-2.0/mbox_parse.c
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/trunk/module-2.0/mbox_parse.c?rev=357145&r1=357144&r2=357145&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mbox_parse.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mbox_parse.c Fri Dec 16 01:10:54 2005
@@ -837,7 +837,7 @@
                 if (temp) {
                     char* p;
                     temp = apr_pstrdup(tpool, temp);
-                    msgc.boundary = strcasestr(temp, "boundary=");
+                    msgc.boundary = ap_strcasestr(temp, "boundary=");
                     if (msgc.boundary) {
                         msgc.boundary += sizeof("boundary=") - 1;
                         if (msgc.boundary[0] == '"') {



Mime
View raw message