From acb7fd05a4cb79f540fb0953a5e1abcd6572a71b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 29 Mar 2007 14:31:30 +0000 Subject: [PATCH] YABF (yet another build fix) - missing assert. First operation argument optional (for EXISTS). Removed unused code from merge. --- org.glite.jp.primary/src/attrs.c | 48 ---------------------- .../src/JobProvenanceTypes.xml | 2 +- org.glite.jp.ws-interface/src/ws_fault.c | 1 + 3 files changed, 2 insertions(+), 49 deletions(-) diff --git a/org.glite.jp.primary/src/attrs.c b/org.glite.jp.primary/src/attrs.c index 69d6345..c8a24e2 100644 --- a/org.glite.jp.primary/src/attrs.c +++ b/org.glite.jp.primary/src/attrs.c @@ -142,7 +142,6 @@ int glite_jpps_get_attrs(glite_jp_context_t ctx,const char *job,char **attr,int nout = merge_attrvals(&out, nout, tag_out); free(tag_out); tag_out = NULL; } -#ifndef BRANCH_RC31_3 for (j = 0; known_namespaces[j].namespace; j++) { char* attr_namespace = glite_jpps_get_namespace(other[i]); if (strcmp(attr_namespace, known_namespaces[j].namespace) == 0){ @@ -152,53 +151,6 @@ int glite_jpps_get_attrs(glite_jp_context_t ctx,const char *job,char **attr,int , known_namespaces[j].plugins[k]->classes[l] , known_namespaces[j].plugins[k]->uris[l]); break; -#else - free(names); - } - -/* loop over the files */ - for (i=0; iops.open(p->fpctx,beh,known_classes[ci].uri,&ph)) { - - for (j=0; jops.attr(p->fpctx,ph,other[j],&myattr) && myattr) { - int k; - for (k=0; myattr[k].name; k++) { - myattr[k].origin = GLITE_JP_ATTR_ORIG_FILE; - trio_asprintf(&myattr[k].origin_detail,"%s %s", - known_classes[ci].uri, - files[i].name ? files[i].name : ""); - } - nout = merge_attrvals(&out,nout,myattr); - free(myattr); - } - - } - p->ops.close(p->fpctx,ph); - } - else { - char *e; - fprintf(stderr,"[%d] %s: %s\n",getpid(),known_classes[ci].class, - e = glite_jp_error_chain(ctx)); - free(e); - } -#endif } free(attr_namespace); } diff --git a/org.glite.jp.ws-interface/src/JobProvenanceTypes.xml b/org.glite.jp.ws-interface/src/JobProvenanceTypes.xml index a9f4e6d..9f4b364 100644 --- a/org.glite.jp.ws-interface/src/JobProvenanceTypes.xml +++ b/org.glite.jp.ws-interface/src/JobProvenanceTypes.xml @@ -37,7 +37,7 @@ Attribute name to query. Operation. Where the attribute value came from. - Value to compare the job attribute with. + Value to compare the job attribute with. Another value (for op = WITHIN). diff --git a/org.glite.jp.ws-interface/src/ws_fault.c b/org.glite.jp.ws-interface/src/ws_fault.c index 2623ae9..b334d86 100644 --- a/org.glite.jp.ws-interface/src/ws_fault.c +++ b/org.glite.jp.ws-interface/src/ws_fault.c @@ -1,6 +1,7 @@ #ident "$Header: " #include +#include #include #include -- 1.8.2.3