Skip to content

Conversation

@sthibaul
Copy link
Contributor

86451e3 ("lib/fs/readlink/areadlink.h: areadlink(): Use PATH_MAX instead of a magic value") introduced using PATH_MAX, but e.g. GNU/Hurd does not define such a limitation.

@sthibaul
Copy link
Contributor Author

sthibaul commented Jun 7, 2025

Here it is

@sthibaul
Copy link
Contributor Author

sthibaul commented Jun 7, 2025

I have also done the same for MAXHOSTNAMELEN

E.g. GNU/Hurd does not define such limitations. Let "defines.h"
provide some good-enough value.

Signed-off-by: Samuel Thibault <[email protected]>
Copy link
Collaborator

@alejandro-colomar alejandro-colomar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alejandro-colomar alejandro-colomar merged commit cafcda2 into shadow-maint:master Jun 7, 2025
10 checks passed
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