-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined behavior #1
Comments
I can't reproduce the error... ./philo 5 800 111-1 200
./philo 5 800 1-1-1-1 200 |
No, your program is working properly. The error is exclusive from |
Your
ft_atoi_recursive
has an undefined behavior when you try to pass numbers with minus in the middle of the string, like: 1-1-1-1 or 111-1.philosophers/philo/src/utils/ft_atoi.c
Line 26 in 38d6cba
The text was updated successfully, but these errors were encountered: