Changeset: 982db287e95c for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=982db287e95c Modified Files: monetdb5/extras/rdf/rdfparams.c Branch: rdf Log Message:
Check the availablity of params file diffs (15 lines): diff --git a/monetdb5/extras/rdf/rdfparams.c b/monetdb5/extras/rdf/rdfparams.c --- a/monetdb5/extras/rdf/rdfparams.c +++ b/monetdb5/extras/rdf/rdfparams.c @@ -48,6 +48,11 @@ void readParamsInput(void){ char value[80]; pf = fopen("params.ini","r"); + + if (pf == NULL){ + printf("No input parameter file found!"); + return; + } while (!feof(pf)){ if(fscanf(pf, "%s %s", variable, value) == 2){ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list