Ignore:
Timestamp:
Jan 3, 2019, 12:44:57 PM (2 years ago)
Author:
knut
Message:

Added some new logging functionality (function logMessage(), macros zooLog, zooLogMsg). Added utility functions setErrorMessage(), hasvalue(), and nonempty() in service.c. Added enum WPSException and arrays WPSExceptionText and WPSExceptionCode (see also function setErrorMessage). New conditional definition of type bool in service.c (to fix issue with bool). Null pointer check in function addToMap. Added missing return values and explicit type casts in some functions. Removed Windows-specific code in function dumpBackFinalFile (zoo_service_loader.c) that may cause error for async raw data output in formats other than XML.

File:
1 edited

Legend:

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

    r820 r889  
    942942    (char *)
    943943    malloc ((strlen (r_inputs->value) + strlen (pid) + 7) * sizeof (char));
    944   sprintf (fbkpid, "%s/%s.pid", r_inputs->value, pid);
     944  sprintf (fbkpid, "%s/%s.pid", r_inputs->value, pid); 
    945945  FILE* f0 = fopen (fbkpid, "r");
    946946  if(f0!=NULL){
     
    970970  }else{
    971971    map* statusInfo=createMap("JobID",pid);
    972     if(isRunning(conf,pid)>0){
     972    if(isRunning(conf,pid)>0){         
    973973      if(strncasecmp(req,"GetResult",strlen(req))==0){
    974974        errorException (conf, _("The result for the requested JobID has not yet been generated. "),
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