Changeset 917 for trunk/zoo-project/zoo-services/utils/status
- Timestamp:
- May 7, 2019, 2:17:08 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
False
/branches/prototype-v0 merged eligible
-
Property
svn:mergeinfo
set to
False
-
trunk/zoo-project/zoo-services/utils/status/Makefile
r811 r917 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS =-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS1=${CFLAGS} -I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 5 5 cgi-env/wps_status.zo: service.c 6 g++ ${CFLAGS } -shared -fpic -o cgi-env/wps_status.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} ${FCGI_LDFLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service6 g++ ${CFLAGS1} -shared -fpic -o cgi-env/wps_status.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} ${FCGI_LDFLAGS} -L${ZRPATH}/zoo-kernel/ -lzoo_service 7 7 8 8 install: -
trunk/zoo-project/zoo-services/utils/status/service.c
r788 r917 72 72 return SERVICE_FAILED; 73 73 } 74 map* tmpMap1=getMapFromMaps(conf,"lenv","semaphore"); 75 if(tmpMap1!=NULL && strcasecmp(tmpMap1->value,"Created")==0) 76 removeShmLock(conf,1); 74 77 sprintf(xslFileName,"%s/updateStatus.xsl",tmpMmap->value); 75 78 xmlSubstituteEntitiesDefault(1); … … 85 88 */ 86 89 char *tmpStr=_getStatus(conf,tmpMap->value); 87 #ifdef DEBUG90 //#ifdef DEBUG 88 91 fprintf(stderr,"DEBUG: %s \n",tmpStr); 89 #endif92 //#endif 90 93 if(tmpStr!=NULL && strncmp(tmpStr,"-1",2)!=0){ 91 94 char *tmpStr1=strdup(tmpStr); … … 140 143 char message[10]; 141 144 sprintf(message,"Step %d",i); 145 fprintf (stderr, "RUN IN BACKGROUND MODE %s %d \n",__FILE__,__LINE__); 146 fflush(stderr); 142 147 updateStatus(conf,i,message); 143 148 #ifndef WIN32
Note: See TracChangeset
for help on using the changeset viewer.