Changeset 887 for branches/prototype-v0/zoo-project/zoo-kernel
- Timestamp:
- Oct 15, 2018, 1:09:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/service_internal_hpc.c
r886 r887 906 906 char *filePath=(char*)malloc((strlen(tmpPath->value)+strlen(jobid->value)+15)*sizeof(char)); 907 907 sprintf(filePath,"%s/exec_status_%s",tmpPath->value,jobid->value); 908 maps* m = (maps *) malloc (MAPS_SIZE);909 m->child=NULL;910 m->next=NULL;908 maps* lm = (maps *) malloc (MAPS_SIZE); 909 lm->child=NULL; 910 lm->next=NULL; 911 911 int saved_stdout = dup (fileno (stdout)); 912 912 dup2 (fileno (stderr), fileno (stdout)); 913 conf_read(filePath, m);913 conf_read(filePath,lm); 914 914 //dumpMaps(m); 915 915 fflush(stdout); … … 918 918 unlink(filePath); 919 919 free(filePath); 920 addMapsToMaps(main_conf, m);921 freeMaps(& m);922 free( m);920 addMapsToMaps(main_conf,lm); 921 freeMaps(&lm); 922 free(lm); 923 923 924 924 input=*real_outputs;
Note: See TracChangeset
for help on using the changeset viewer.