valgrind suppression file for readline()
+ ./.valgrindrc + basic free_exit() + U_DEFAULT_* macro in _user_macro.h
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/10 05:01:22 by lperrey #+# #+# */
|
||||
/* Updated: 2021/10/10 08:50:37 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/10/11 01:50:53 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -38,9 +38,5 @@ int builtin_exit(int argc, char *argv[], t_all *c) // WIP
|
||||
}
|
||||
status = ft_atoi(argv[1]);
|
||||
}
|
||||
// TODO : remplacer exit(status) par
|
||||
(void)c;
|
||||
exit(status);
|
||||
return (0);
|
||||
// return (free_exit(&c, status));
|
||||
return (free_exit(c, status));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user