[sr-dev] git:master:2ba6d4ff: core: check for unexpected long value return by pathconf()