1
0
mirror of https://github.com/KeyZox71/ft_minipowershell.git synced 2025-05-14 08:18:45 +02:00

🔨」 fix: CD not vomiting valgrind error

This commit is contained in:
2024-06-25 17:20:20 +02:00
parent e7a5e8041b
commit 7460600fa2
3 changed files with 6 additions and 8 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/25 10:41:43 by adjoly #+# #+# */
/* Updated: 2024/06/25 15:05:04 by adjoly ### ########.fr */
/* Updated: 2024/06/25 17:04:37 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -16,7 +16,7 @@
char *ret_cwd(void)
{
char buf[PATH_MAX_LEN];
static char buf[PATH_MAX_LEN];
ft_bzero(buf, PATH_MAX_LEN);
return (getcwd(buf, PATH_MAX_LEN));