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

Cleanups #176

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Cleanups #176

wants to merge 10 commits into from

Conversation

pabs3
Copy link

@pabs3 pabs3 commented Sep 4, 2023

  • Fix compiler warning about incorrect printf specifier
  • Fix memory leaks
  • Add missing va_end() calls
  • Clean up curses terminal resources on exit
  • Avoid reading uninitialised memory
  • Fix formatting of manual page items
  • Fix typos
  • Drop unnecessary paragraph indicators in the manual pages
  • Wrap long lines in the manual pages
  • Remove trailing whitespace

The variable is a size_t but the z printf length modifier is missing.

Suggested-by: gcc -Wformat
Suggested-by: cppcheck
Suggested-by: cppcheck
This can cause crashes when the memory contains previous data.

Suggested-by: glibc MALLOC_CHECK_=2 & valgrind
Suggested-by: mandoc -T lint
Suggested-by: spellintian & codespell
Suggested-by: mandoc -T lint
Suggested-by: nano, git, mandoc -T lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant