Ignore:
Timestamp:
Jun 14, 2019, 10:08:22 PM (13 months ago)
Author:
djay
Message:

Fix const decelaration to build on windows, pass full children content for text/* ComplexData?.

File:
1 edited

Legend:

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

    r917 r939  
    6969          dupElements(cur)
    7070        };
    71         char *geoLink="wcs_link";
     71        const char *geoLink="wcs_link";
    7272        if(geo==2){
    7373          geoLink="wfs_link";
     
    213213      zooLock* lck;
    214214      if((lck=lockFile(*conf,argv[1]->value,'r'))==NULL){
    215         char* templateStr=_("Unable to lock the file for %s in read mode.");
     215        const char* templateStr=_("Unable to lock the file for %s in read mode.");
    216216        char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv[0]->value)+1)*sizeof(char));
    217217        sprintf(tmpMessage,templateStr,argv[0]->value);
     
    251251      if(unlockFile(*conf,zoo_file_locks[i])<1){
    252252        map* argv=getMapArray(queueMaps->content,"input",i);
    253         char* templateStr=_("Unable to unlock the file for %s after execution.");
     253        const char* templateStr=_("Unable to unlock the file for %s after execution.");
    254254        char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv->value)+1)*sizeof(char));
    255255        sprintf(tmpMessage,templateStr,argv->value);
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