- Timestamp:
- Aug 14, 2019, 4:30:34 PM (5 years ago)
- Location:
- trunk/zoo-project
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/HISTORY.txt
r944 r945 1 1 Version 1.8.0-dev 2 * Fix #172 2 * Fix issue in case JavaScript support is activated 3 * Fix issue with GDAL profile service 4 * Fix #172 for https support 3 5 Version 1.7.0 4 6 * Fix issue with UOM definitions in zcfg2sql -
trunk/zoo-project/zoo-kernel/response_print.c
r943 r945 1001 1001 */ 1002 1002 void printDescribeProcessForProcess(registry *reg, maps* m,xmlDocPtr doc,xmlNodePtr nc,service* serv){ 1003 xmlNsPtr ns,ns_ows,ns_xlink; 1003 xmlNsPtr ns,ns_ows,ns_xlink; 1004 1004 xmlNodePtr n,nc1; 1005 1005 xmlNodePtr nc2 = NULL; … … 1146 1146 xmlNewProp(nc2,BAD_CAST "maxOccurs",BAD_CAST "1"); 1147 1147 if((tmp1=getMap(e->content,"maximumMegabytes"))!=NULL){ 1148 xmlNewProp(nc2,BAD_CAST "maximumMegabytes",BAD_CAST tmp1->value); 1148 if(vid==0) 1149 xmlNewProp(nc2,BAD_CAST "maximumMegabytes",BAD_CAST tmp1->value); 1149 1150 } 1150 1151 } … … 1243 1244 } 1244 1245 } 1245 1246 1247 if((tmp1=getMap(e->content,"maximumMegabytes"))!=NULL){ 1248 if(vid==1) 1249 xmlNewProp(nc5,BAD_CAST "maximumMegabytes",BAD_CAST tmp1->value); 1250 } 1251 1252 1246 1253 tmp1=_tmp->content; 1247 1254 … … 1617 1624 } 1618 1625 } 1626 1627 if((tmp1=getMap(e->content,"maximumMegabytes"))!=NULL){ 1628 if(vid==1) 1629 xmlNewProp(nc5,BAD_CAST "maximumMegabytes",BAD_CAST tmp1->value); 1630 } 1631 1619 1632 tmp1=_tmp->content; 1620 1633 int oI=0; -
trunk/zoo-project/zoo-kernel/service_internal.c
r921 r945 198 198 int res=-1; 199 199 if(s!=NULL){ 200 int fcntlRes; 200 201 s->lock.l_type = F_UNLCK; 201 202 res=fcntl(fileno(s->lockfile), F_SETLK, &s->lock); 202 203 if(res==-1) 203 204 return res; 204 fclose(s->lockfile);205 205 #ifndef WIN32 206 206 // Check if there is any process locking a file and delete the lock if not. 207 207 s->lock.l_type = F_WRLCK; 208 if(fcntl(fileno(s->lockfile), F_GETLK, &s->lock)!=-1 && s->lock.l_type == F_UNLCK){ 209 #endif 208 fcntlRes=fcntl(fileno(s->lockfile), F_GETLK, &s->lock); 209 if(fcntlRes!=1 && s->lock.l_type == F_UNLCK){ 210 #endif 211 fclose(s->lockfile); 210 212 zUnlink(s->filename); 211 213 #ifndef WIN32 -
trunk/zoo-project/zoo-kernel/ulinet.h
r944 r945 26 26 #define _ULINET_H 1 27 27 28 #ifdef USE_JS 29 #ifdef WIN32 30 #define XP_WIN 1 31 #else 32 #define XP_UNIX 0 33 #endif 34 #include "jsapi.h" 35 #endif 28 36 #include "fcgi_stdio.h" 29 37 #include <stdlib.h> … … 37 45 #include <string.h> 38 46 #include "time.h" 39 #ifdef USE_JS40 #ifdef WIN3241 #define XP_WIN 142 #else43 #define XP_UNIX 044 #endif45 #include "jsapi.h"46 #endif47 47 #ifndef __cplusplus 48 48 // knut: see new def of bool in service.h -
trunk/zoo-project/zoo-services/gdal/profile/service.c
r371 r945 182 182 #endif 183 183 } 184 GDALClose(hDataset); 184 185 OGRCleanupAll(); 185 GDALClose(hDataset);186 186 GDALDestroyDriverManager(); 187 187 #ifdef ZOO_SERVICE
Note: See TracChangeset
for help on using the changeset viewer.