diff --git a/Make_include b/Make_include index 6d0d98175c624b2cd9899cd774f3a7b7e876d679..ec68c322772f8f017df7c5e7b68dbe483fd90412 100644 --- a/Make_include +++ b/Make_include @@ -6,7 +6,7 @@ # -3- on Solaris system use RANLIB=ranlib which is defined below # the current directory (in vi ":r!pwd") -ROOT=/Users/jan/src/OpenSource +ROOT=/vardim/home/bracken/Marchenko/github/OpenSource ######################################################################## # C compiler; change this only if you are using a different C-compiler diff --git a/utils/getpars.c b/utils/getpars.c index 63474de21c91f80d52e7489bdac245cb6d2d1d91..5099c5801bef214253daf07667c1b3c55b1008b1 100644 --- a/utils/getpars.c +++ b/utils/getpars.c @@ -354,7 +354,7 @@ int getnpar (int n, char *name, char *type, void *ptr) break; case 'a': { char *tmpstr=""; - tmpstr = (char *)calloc(strlen(aval),1); + tmpstr = (char *)calloc(strlen(aval)+1,1); strchop(aval,tmpstr); *(char**)ptr = tmpstr;