diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-25 10:16:54 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-25 10:16:54 +0100 |
commit | 1b1126bd023a2bb92699773a1867358067dabcb8 (patch) | |
tree | 6fd56d034e5a154c7992e7855d61691cecd043c4 /spectro/rspec.c | |
parent | cb5c7cec4aa1946f75dc3d408eb7f1051f3fb3d4 (diff) | |
parent | f6b8e0eae4374f339487a33e3e4fe5462d5816e1 (diff) |
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0'
with Debian dir e866e6e75661017faaa5331becda76021407390b
Diffstat (limited to 'spectro/rspec.c')
-rwxr-xr-x[-rw-r--r--] | spectro/rspec.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spectro/rspec.c b/spectro/rspec.c index 6a7f8c7..c50cd83 100644..100755 --- a/spectro/rspec.c +++ b/spectro/rspec.c @@ -47,6 +47,7 @@ #ifndef SALONEINSTLIB # include "plot.h" #endif +#include "cgats.h" #include "xspect.h" #include "insttypes.h" #include "conv.h" @@ -928,7 +929,8 @@ int calf_open(calf *x, a1log *log, char *fname, int wr) { sprintf(cal_name, "ArgyllCMS/%s", fname); else sprintf(cal_name, "ArgyllCMS/%s" SSEPS "color/%s", fname, fname); - if ((no_paths = xdg_bds(NULL, &cal_paths, xdg_cache, xdg_write, xdg_user, cal_name)) < 1) { + if ((no_paths = xdg_bds(NULL, &cal_paths, xdg_cache, xdg_write, xdg_user, xdg_none, + cal_name)) < 1) { a1logd(x->log,1,"calf_open: xdg_bds returned no paths\n"); return 1; } @@ -971,7 +973,8 @@ int calf_touch(a1log *log, char *fname) { /* Locate the file name */ sprintf(cal_name, "ArgyllCMS/%s" SSEPS "color/%s", fname, fname); - if ((no_paths = xdg_bds(NULL, &cal_paths, xdg_cache, xdg_read, xdg_user, cal_name)) < 1) { + if ((no_paths = xdg_bds(NULL, &cal_paths, xdg_cache, xdg_read, xdg_user, xdg_none, + cal_name)) < 1) { a1logd(log,2,"calf_touch: xdg_bds failed to locate file'\n"); return 1; } |