Skip to content
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

new test for GNL + display more info on compilation failure #132

Merged
merged 1 commit into from
Jan 20, 2019

Conversation

jgigault
Copy link
Owner

Proposed test for noticing about the memory management behavior of get_next_line.

This test never fails or succeed because the subject does not describe the expected behavior:

  • The caller should free the lines after each call (In my opinion it is the the preferred behavior, similar to getline(3))
  • The caller must not free the lines after each call, get_next_line do it itself if necessary

image

@jgigault jgigault mentioned this pull request Jan 13, 2019
Seluj78
Seluj78 previously approved these changes Jan 14, 2019
@jgigault jgigault force-pushed the fix/failed-gnl-compilation branch from e44eed2 to f64282c Compare January 20, 2019 10:22
@jgigault jgigault merged commit b1b84d0 into master Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants