summaryrefslogtreecommitdiff
path: root/spectro/rspec.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
commit4097e27114d227692d53c5d28487e12a3833cd24 (patch)
treed5c2a62c4db97de94f92150340612c64d3997669 /spectro/rspec.c
parentf8a0a4e1c775a90c313cb83201eec4cea4e9a7da (diff)
parent5514d94483c98e3320b202b1bb882023a7d12027 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'spectro/rspec.c')
-rwxr-xr-x[-rw-r--r--]spectro/rspec.c7
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;
}