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

fix src path string

parent 9a5babf0
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,9 @@ int ssexec_env(int argc, char const *const *argv,char const *const *envp,ssexec_
if (!auto_stra(&sasrc,res.sa.s + res.srconf,SS_SYM_VERSION)) log_die_nomem("stralloc") ;
if (sareadlink(&salink,sasrc.s) == -1) log_dieusys(LOG_EXIT_SYS,"readlink: ",sasrc.s) ;
if (!auto_stra(&salink,"/",sv) ||
if (!stralloc_cats(&salink,"/") ||
!stralloc_cats(&salink,sv) ||
!stralloc_0(&salink) ||
!stralloc_copy(&sasrc,&salink)) log_die_nomem("stralloc") ;
src = sasrc.s ;
stralloc_free(&salink) ;
......
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