--- a/src/StreamletAttributeFinder.h Sat Jan 25 16:37:20 2020 +0100
+++ b/src/StreamletAttributeFinder.h Sat Jan 25 21:28:37 2020 +0100
@@ -74,7 +74,7 @@
if (streamletPathChars) {
for (string_t path : splitBySeparator(convertor.from_bytes(streamletPathChars))) {
fs::path file = fs::path(path) / fs::path(field.name);
- if (fs::exists(file) && ::access(file.c_str(), X_OK) == 0) return file.wstring(); // n.b. must be set executable using e.g. chmod – files executable through only ACL, are actually not executable
+ if (fs::exists(file) && ::access(file.c_str(), X_OK) == 0) return file.wstring(); // n.b. must be set executable using e.g. chmod – files executable through only ACL, are actually not executable
}
throw RelpipeWriterException(L"Streamlet „" + field.name + L"“ was not found at $RELPIPE_IN_FILESYSTEM_STREAMLET_PATH");
} else {
@@ -104,7 +104,6 @@
SubProcess::Message m = subProcesses[field.id]->read();
if (m.code != StreamletMsg::WAITING_FOR_INPUT_ATTRIBUTES) throw RelpipeWriterException(L"Protocol violation from exec sub-process. Expected WAITING_FOR_INPUT_ATTRIBUTES but got: " + m.toString());
- // FIXME: generic protocol violation error messages / method for checking responses
}
}