[MacPorts] #71842: legacy-support: include sys/stdio.h from stdio.h

MacPorts noreply at macports.org
Fri Jan 17 03:02:53 UTC 2025


#71842: legacy-support: include sys/stdio.h from stdio.h
-----------------------------+--------------------
  Reporter:  barracuda156    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.10.5
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+--------------------

Comment (by fhgwright):

 Replying to [comment:2 barracuda156]:
 > But is `_stdio.h` included in turn via `stdio.h`? Internal headers
 should not be included directly by third-party software.

 Ah, yes, it is.  Though in any case, `legacy-support` won't change
 anything related to `renameat` in 10.10+, anyway.

 IMO, `*stdio.h` was a dumb place to put the `renameat` prototype, but that
 ship has already sailed.

 I'll fix this soon, since it's easy (even including the test). :-)

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


More information about the macports-tickets mailing list