[MacPorts] #58729: legacy-support missing futimens() (and utimensat)

MacPorts noreply at macports.org
Mon Aug 24 06:23:52 UTC 2020


#58729: legacy-support missing futimens() (and utimensat)
-----------------------------+----------------------
  Reporter:  RJVB            |      Owner:  (none)
      Type:  enhancement     |     Status:  reopened
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------
Changes (by kencu):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 I'm coming across software that doesn't specifically need nanosecond
 timespec resolution for setting file access times, but is using these
 functions as they are assumed to exist, eg dosbox-x.

 I think that adding compatibility functions for utimensat and futimens
 would be acceptable for the vast majority of these cases, rather than
 putting #ifdefs into the source to use the older microsecond resolution
 functions.

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


More information about the macports-tickets mailing list