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

MacPorts noreply at macports.org
Fri Jan 17 05:21:39 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 barracuda156):

 Replying to [comment:3 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). :-)

 Great, thanks.

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


More information about the macports-tickets mailing list