Skip to content
Snippets Groups Projects
Commit 1890a40e authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

ss_resolve_src: append src directory with a slash

parent c7b46356
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,7 @@ int ss_resolve_src(genalloc *ga, stralloc *sasrc, char const *name, char const *
if (S_ISDIR(st.st_mode))
{
if (!stralloc_cats(&subdir,d->d_name)) goto errdir ;
if (!stralloc_cats(&subdir,"/")) goto errdir ;
if (!stralloc_0(&subdir)) goto errdir ;
*found = 2 ;
if (!ss_resolve_src(ga,sasrc,name,subdir.s,found)) goto errdir ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment