Skip to content

Conversation

xingxue-ibm
Copy link
Contributor

@xingxue-ibm xingxue-ibm commented Jul 30, 2025

What does this PR do

The AIX signature of madvise() differs from the POSIX specification, which expects void * as the type of the addr argument, whereas AIX uses caddr_t (i.e., char *). This patch casts addr inside the nix wrapper madvise() to smooth it out.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@amy-kwan
Copy link

amy-kwan commented Sep 4, 2025

Ping.

Hi @asomers! Would you be the right person to ping in order to review this PR?

@asomers
Copy link
Member

asomers commented Sep 7, 2025

This looks ok. But could you please add a changelog entry?

@xingxue-ibm
Copy link
Contributor Author

This looks ok. But could you please add a changelog entry?

Added file 2655.fixed.md. Thanks for the reminder!

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.

3 participants