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

patches from pkgsrc #7

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

Conversation

Rhialto
Copy link

@Rhialto Rhialto commented Feb 3, 2024

Here are some patches from pkgsrc that seemed to be still (somewhat) relevant.

Source: https://github.com/NetBSD/pkgsrc/tree/trunk/archivers/zoo/patches

If it is needed, use <string.h> to declare it.
- use standard headers
- use standard macros for seeking
- don't declare own lseek
- use off_t
utime(2) is obsoleted by utimes(2).
- use <ctype.h> correctly
- avoid string overflow
- use <ctype.h> properly
- provide and use to_signed_long (sign extend negative 32 bit values to
  64 bit when needed)
initialize uninitialized variable, found by gcc 4.5
- initialize uninitialized variable
@Rhialto
Copy link
Author

Rhialto commented Feb 3, 2024

I vaguely remember that I planned to do this much earlier already, and maybe I even promised it... but then here it finally is :)

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