Replies: 1 comment
-
that seems good, please open a pull request for this. looking at it now it seems like there should also be a check like this one if (ars_len >= ars_cap) {
ars_cap *= 2;
ars = realloc(ars, ars_cap * sizeof(*ars));
} before null terminating the strings, because it may happen that the buffer is full. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The code below has been modified to handle consecutive spaces and tabs. Please review it.
Beta Was this translation helpful? Give feedback.
All reactions