data-sort: fixed error check for datasort_base_get_path()
log: removed old racy logging code

We don't use !__GNUC__ compilers
XXX