Skip to content

Some patches to please Debian 💯️ - #100

Open
illwieckz wants to merge 2 commits into
masterfrom
illwieckz/debian-patches
Open

Some patches to please Debian 💯️#100
illwieckz wants to merge 2 commits into
masterfrom
illwieckz/debian-patches

Conversation

@illwieckz

@illwieckz illwieckz commented Aug 8, 2026

Copy link
Copy Markdown
Member

The Debian package applies two patches by @twolife:

So we better have the fixes upstream and them not having to apply any patch.

The first patch, I totally rewrote it to be much more generic.
The second patch, I simply added the initialization of *p to nullptr to the original patch.

I reworded the commit messages in better ways.

For knowledge, the need for those patches were triggered by Debian Hurd… We don't support that, but the actual patches are generic clean-up and improvements that are always good to have. Especially it removes one ifdef for FreeBSD and makes the code use a more modern version of realpath().

So in the end the code is in better shape and even has less system-specific branches: more portable with less branches.

@illwieckz
illwieckz force-pushed the illwieckz/debian-patches branch from 6335972 to b204b11 Compare August 8, 2026 04:07
@illwieckz illwieckz changed the title Some patches to please Debian Some patches to please Debian 💯️ Aug 8, 2026
@twolife

twolife commented Aug 8, 2026

Copy link
Copy Markdown

Hi,
Usually I don't like to bother people with patches for Hurd (this is a toy project IMHO); but as you pointed out, in this case the resulting code is better and more portable.
Thank you for taking the time to merge theses patches !

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.

2 participants