Ignore:
Timestamp:
May 31, 2011, 3:30:49 AM (13 years ago)
Author:
djay
Message:

Merge trunk r111:r216 into branch-1.2

Location:
branches/branch-1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1.2

  • branches/branch-1.2/zoo-kernel/zoo_loader.c

    r99 r217  
    2626#define MALLOC_CHECK 0
    2727
     28#ifdef WIN32
     29#include "windows.h"
     30#endif
    2831/**
    2932 * Specific includes
     
    4548}
    4649
    47 xmlXPathObjectPtr extractFromDoc(xmlDocPtr,char*);
     50xmlXPathObjectPtr extractFromDoc(xmlDocPtr,const char*);
    4851int runRequest(map*);
    4952
     
    6467/* ************************************************************************* */
    6568
    66 #ifndef STRTOK_R
    67 char *
    68 strtok_r (char *s1, const char *s2, char **lasts)
    69 {
    70   char *ret;
    71 
    72   if (s1 == NULL)
    73     s1 = *lasts;
    74   while (*s1 && strchr(s2, *s1))
    75     ++s1;
    76   if (*s1 == '\0')
    77     return NULL;
    78   ret = s1;
    79   while (*s1 && !strchr(s2, *s1))
    80     ++s1;
    81   if (*s1)
    82     *s1++ = '\0';
    83   *lasts = s1;
    84   return ret;
    85 }
    86 
    87 #endif
    8869
    8970#define TRUE 1
     
    192173        addToMap(tmpMap,"language",tval);
    193174     
    194       char* requests[3];
     175      const char* requests[3];
    195176      requests[0]="GetCapabilities";
    196177      requests[1]="DescribeProcess";
     
    206187#endif
    207188          if(req!=NULL && req->nodeNr==1){
    208             t1->value=requests[j];
     189            t1->value=strdup(requests[j]);
    209190            j=2;
    210191          }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png