Skip to content

patches from pkgsrc#7

Open
Rhialto wants to merge 7 commits intotroglobit:masterfrom
Rhialto:rhialto-patches-from-pkgsrc
Open

patches from pkgsrc#7
Rhialto wants to merge 7 commits intotroglobit:masterfrom
Rhialto:rhialto-patches-from-pkgsrc

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