Ignore:
Timestamp:
Feb 25, 2019, 1:57:11 PM (5 years ago)
Author:
knut
Message:

Added some recent changes from trunk (r889), including some new utility functions and exception handling and new (conditional) definition of type bool. Added some new logic concerning Python and Mono environment and search paths. Fixed problem with Mono updateStatus function. Changed response_print.h to #include locale.h unconditionally and xlocale.h conditionally; xlocale.h is non-standard and can probably be dropped.

File:
1 edited

Legend:

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

    r877 r896  
    123123       if(res!=NULL)
    124124         free(res);
    125     }else{
     125    }else{             
    126126      char *buffer=new char[cgiContentLength+1];
    127127      if(fread(buffer,sizeof(char),cgiContentLength,cgiIn)>0){
     
    163163    }   
    164164  }
    165   else{
     165  else{   
    166166#ifdef DEBUG
    167167    dumpMap(tmpMap);
     
    187187    cgiStringArrayFree(array);
    188188  }
    189 
     189 
    190190#ifdef WIN32
    191   map *tmpReq=getMap(tmpMap,"rfile");
    192   if(tmpReq!=NULL){
    193     FILE *lf=fopen(tmpReq->value,"r");
     191  map *tmpReq=getMap(tmpMap,"rfile"); 
     192  if(tmpReq!=NULL){               
     193    FILE *lf=fopen(tmpReq->value,"r"); 
    194194    fseek(lf,0,SEEK_END);
    195195    long flen=ftell(lf);
     
    395395    }
    396396  }
    397 
     397 
    398398  if(strncasecmp(cgiContentType,"multipart/form-data",19)==0){
    399399    map* tmp=getMap(tmpMap,"dataInputs");
     
    408408  if(strQuery!=NULL)
    409409    free(strQuery);
    410 
     410 
    411411  runRequest(&tmpMap);
    412412
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