Ignore:
Timestamp:
Nov 21, 2017, 10:24:14 AM (6 years ago)
Author:
djay
Message:

HPC support update. Add inputs for create options in Gdal_Dem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/service_internal_python.c

    r790 r854  
    5757 * from the ZOO-Kernel Python environment:
    5858 *  - "_" corresponding to the PythonTranslate function
    59  *  - "updte_status" corresponding to the PythonUpdateStatus function
     59 *  - "update_status" corresponding to the PythonUpdateStatus function
    6060 * @see PythonTranslate, PythonUpdateStatus
    6161 */
     
    163163    fprintf(stderr,"PYTHON SUPPORT (%i)\n",strlen(tmp->value));
    164164#endif
    165     python_path=(char*)malloc((strlen(tmp->value))*sizeof(char));
     165    python_path=(char*)malloc((strlen(tmp->value)+1)*sizeof(char));
    166166    sprintf(python_path,"%s",tmp->value);
    167167    hasToClean=1;
     
    281281        dumpMaps(*real_outputs);
    282282#endif
    283       }else{     
     283      }else{
    284284        PythonZooReport(m,tmp->value,0);
    285285        res=-1;
     
    323323  char *pbt=NULL;
    324324  if(PyString_Check(trace)){
    325     pbt=(char*)malloc((7+strlen(PyString_AsString(trace))+1)*sizeof(char));
     325    pbt=(char*)malloc((8+strlen(PyString_AsString(trace)))*sizeof(char));
    326326    sprintf(pbt,"TRACE: %s",PyString_AsString(trace));
    327327  }
    328328  else
    329329    fprintf(stderr,"EMPTY TRACE ?");
    330  
     330
    331331  trace=NULL;
    332332 
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