fix: updated gnl include path and function names that caused compilation errors

This commit is contained in:
2025-10-17 08:54:38 +02:00
parent 00d19af02d
commit 83263bb269
4 changed files with 4 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ int export_builtin(int argc, char const *argv[], char **envp)
{
if (ft_strncmp(envp[i], env[0], ft_strlen(env[0])) == 0)
{
char *line = ft_strjoin_mul(3, env[0], "=", env[1]);
char *line = ft_strnjoin(3, env[0], "=", env[1]);
envp[i] = line;
break ;
}