[MacPorts] #70702: Provide a compatibility wrapper for scandir in legacy-support
MacPorts
noreply at macports.org
Sat Oct 26 16:57:27 UTC 2024
#70702: Provide a compatibility wrapper for scandir in legacy-support
-----------------------------+-----------------------
Reporter: fhgwright | Owner: fhgwright
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: legacy-support |
-----------------------------+-----------------------
Comment (by fhgwright):
In [changeset:"d546d8ad537ed152740566caa8fc2d303940d2c9/macports-legacy-
support" d546d8ad537ed152740566caa8fc2d303940d2c9/macports-legacy-support]
(master):
{{{
#!ConfigurableCommitTicketReference repository="macports-legacy-support"
revision="d546d8ad537ed152740566caa8fc2d303940d2c9"
Add test for scandir() 'compar' type.
This tests for the pointer-type mismatch issue with the scandir()
'compar' arg. There are two versions, one verifying the expected old
behavior, and another verifying the fix.
See: https://trac.macports.org/ticket/70702
Also adds alphasort() and scandir() to the darwin_c tests.
TESTED:
Fails or gets warning on <10.8 without fix. Passes with fix.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70702#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list