[MacPorts] #71129: legacy-support is removing atexit-related code for undocumented reason

MacPorts noreply at macports.org
Sun Oct 20 01:30:02 UTC 2024


#71129: legacy-support is removing atexit-related code for undocumented reason
-----------------------------+---------------------------------
  Reporter:  fhgwright       |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.10.2
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+---------------------------------

Comment (by fhgwright):

 I should have looked at the code before filing this. :-)

 I see a couple of uses of `RTLD_DEFAULT`, one of which I could see leading
 to recursion.  And, according to the documentation, `RTLD_DEFAULT` is
 almost never the right thing to use anyway.

 This suggests a fix, though having a known failure case would be useful.
 Otherwise, I'll have to try to concoct a test.

-- 
Ticket URL: <https://trac.macports.org/ticket/71129#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list