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

Replace fgets() by readline() #43

Merged
merged 1 commit into from
May 12, 2017
Merged

Replace fgets() by readline() #43

merged 1 commit into from
May 12, 2017

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented May 12, 2017

By submitting this pull request, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your PR:

Please submit all pull requests against the development branch. Failure to do so will delay or deny your request

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?: 10


Replace all fgets() calls by readline() to become independent of all existing line length limitations and add additional checks for whether memory has been allocated successfully.

This template was created based on the work of udemy-dl.

@DL6ER
Copy link
Member Author

DL6ER commented May 12, 2017

==5468== LEAK SUMMARY:
==5468==    definitely lost: 0 bytes in 0 blocks
==5468==    indirectly lost: 0 bytes in 0 blocks
==5468==      possibly lost: 0 bytes in 0 blocks
==5468==    still reachable: 362,099 bytes in 842 blocks
==5468==         suppressed: 0 bytes in 0 blocks
==5468== Reachable blocks (those to which a pointer was found) are not shown.

@DL6ER DL6ER merged commit 2bbacbf into development May 12, 2017
@DL6ER DL6ER deleted the tweak/readline branch May 12, 2017 15:20
DL6ER added a commit that referenced this pull request May 12, 2017
* Restructure code such that cast is not necessary for qsort comparison function (#41)

* Add "no-daemon" resp. "-f" option to prevent FTL forking itself into background (#42)

* Replace all fgets() calls by readline() to become independent of all existing line length limitations (#43)

* Add musl target to Travis CI (#44)
DL6ER pushed a commit that referenced this pull request Oct 14, 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.

1 participant