Compare commits

...

3 Commits

Author SHA1 Message Date
Stefan Schmidt a90ecd5f02 TESTING ONYL 2020-04-24 11:53:43 +02:00
Stefan Schmidt 0013ea8c36 Revert "exactness: do not access potential NULL pointer"
This reverts commit 7452700618.
2020-04-24 11:53:07 +02:00
Stefan Schmidt 890d0d0057 Revert "exactness: use convinience ecore_file function to get dir"
This reverts commit d4c8bd4f4f.
2020-04-24 11:52:59 +02:00
2 changed files with 7 additions and 22 deletions

View File

@ -76,7 +76,6 @@ jobs:
if: type = cron
env: DISTRO=Fedora31 CI_BUILD_TYPE=asan
- os: linux
if: type = cron
env: DISTRO=Fedora31-exactness CI_BUILD_TYPE=exactness
- os: linux
if: type = cron
@ -140,14 +139,3 @@ before_cache:
mv $HOME/Library/Caches/Homebrew $HOME/cachedir/Homebrew
fi
notifications:
irc:
channels:
- "chat.freenode.net#edevelop"
on_success: change
on_failure: always
template:
- "TravisCI build %{build_number} in branch %{branch}: %{result} - %{message} (%{elapsed_time})"
- "Commit: %{commit_subject} (%{commit}) from %{author}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"

View File

@ -889,15 +889,15 @@ _setup_dest_type(const char *dest, Eina_Bool external_injection)
if (!strcmp(_dest + strlen(_dest) - 4,".exu"))
{
_dest_type = FTYPE_EXU;
char *path = ecore_file_dir_get(dest);
/* Cut path at the beginning of the file name */
char *file_start = strrchr(dest, '/');
*file_start = '\0';
if (!ecore_file_mkpath(path))
if (!ecore_file_mkpath(dest))
{
fprintf(stderr, "Path for %s cannot be created\n", _dest);
free(path);
fprintf(stderr, "Path for %s cannot be created\n", dest);
return EINA_FALSE;
}
free(path);
}
else
{
@ -1020,11 +1020,8 @@ _write_unit_file(void)
Exactness_Unit *tmp = NULL;
EINA_SAFETY_ON_NULL_RETURN(_src_unit);
if (_src_type == FTYPE_EXU)
{
tmp = exactness_unit_file_read(_src_filename);
_dest_unit->actions = tmp->actions;
}
if (_src_type == FTYPE_EXU) tmp = exactness_unit_file_read(_src_filename);
_dest_unit->actions = tmp->actions;
exactness_unit_file_write(_dest_unit, _dest);
}
}