add_pathsep(file_path);
}
else
+ {
+ ff_free_stack_element(stackp);
goto fail;
+ }
}
/* append the fix part of the search path */
add_pathsep(file_path);
}
else
+ {
+ ff_free_stack_element(stackp);
goto fail;
+ }
#ifdef FEAT_PATH_EXTRA
rest_of_wildcards = stackp->ffs_wc_path;
if (len + 1 < MAXPATHL)
file_path[len++] = '*';
else
+ {
+ ff_free_stack_element(stackp);
goto fail;
+ }
}
if (*p == 0)
if (len + 1 < MAXPATHL)
file_path[len++] = *rest_of_wildcards++;
else
+ {
+ ff_free_stack_element(stackp);
goto fail;
+ }
file_path[len] = NUL;
if (vim_ispathsep(*rest_of_wildcards))
STRCAT(file_path, search_ctx->ffsc_file_to_search);
}
else
+ {
+ ff_free_stack_element(stackp);
goto fail;
+ }
/*
* Try without extra suffix and then with suffixes