Ignore:
Timestamp:
May 28, 2019, 11:33:18 AM (6 years ago)
Author:
djay
Message:

Fix issue with version parameter for GetCapabilities?, issue with DescribeProcess? (version 2.0.0) and fix to build on MacOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_python.c

    r921 r926  
    351351  PyObject *ptype, *pvalue, *ptraceback,*pValue,*pArgs;
    352352  PyErr_Fetch(&ptype, &pvalue, &ptraceback);
    353   char *pStrErrorMessage = PyString_AsString(pvalue);
     353  const char *pStrErrorMessage = PyString_AsString(pvalue);
    354354  char *tmp0=_("Python module %s cannot be loaded. Message: %s\n");
    355355 
     
    698698    if(strncmp(PyString_AsString(key),"child",5)!=0){
    699699      if(strncmp(PyString_AsString(key),"value",5)==0){
    700         char *buffer=NULL;
     700        const char *buffer=NULL;
    701701        Py_ssize_t size;
    702702#if PY_MAJOR_VERSION >= 3
     
    720720        res = addToMapWithSize(res,PyString_AsString(key),buffer,size);
    721721      }else{
    722         char* lkey=PyString_AsString(key);
    723         char* lvalue=PyString_AsString(value);
     722        const char* lkey=PyString_AsString(key);
     723        const char* lvalue=PyString_AsString(value);
    724724        if(res!=NULL){
    725725          if(PyString_Size(value)>0)
     
    759759        PyObject* key;
    760760        PyObject* value;
    761         char *buffer = NULL;
     761        const char *buffer = NULL;
    762762        Py_ssize_t size;
    763763        for(int i = 0; i < nb; i++) {
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