[MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-------------------------+----------------------------
 Reporter:  kencu        |      Owner:  kencu
     Type:  enhancement  |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  legacy-support
-------------------------+----------------------------
 it appears that most of these functions showed up in macOS 10.10. They are
 POSIX 200809 for the most part, I believe.

 Current software is increasingly using these, most often without
 replacements.

 There are replacements for some of these in gnulib, not always completely
 replicating the functionality.

--
Ticket URL: <https://trac.macports.org/ticket/57611>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
  Reporter:  kencu           |      Owner:  kencu
      Type:  enhancement     |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------

Comment (by cjones051073):

 Sounds ok to me.

 Do you have a link for a possible implementation ? Bear in mind to use it
 in the legacy-support library the license must be compatible with the MIT
 license used there.

--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
In reply to this post by MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
  Reporter:  kencu           |      Owner:  kencu
      Type:  enhancement     |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------

Comment (by kencu):

 gnulib (GPL3+)
 <https://github.com/coreutils/gnulib/blob/master/lib/faccessat.c>

 Apple Open Source (APSL 2.0) (much more complicated version)
 <https://github.com/apple/darwin-
 xnu/blob/master/bsd/vfs/vfs_syscalls.c#L5476>

--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
In reply to this post by MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
  Reporter:  kencu           |      Owner:  kencu
      Type:  enhancement     |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------

Comment (by cjones051073):

 GPL3+ is out I am afraid...

--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
In reply to this post by MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
  Reporter:  kencu           |      Owner:  kencu
      Type:  enhancement     |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------

Comment (by kencu):

 I'll never tell ...

--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
In reply to this post by MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
  Reporter:  kencu           |      Owner:  kencu
      Type:  enhancement     |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------

Comment (by cjones051073):

 Hmmm. Seriously, licenses are important. Please do not add anything not
 compatible with MIT. I have no wish to get into hot water..

--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less

MacPorts
In reply to this post by MacPorts
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+--------------------
  Reporter:  kencu           |      Owner:  kencu
      Type:  enhancement     |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:  fixed           |   Keywords:
      Port:  legacy-support  |
-----------------------------+--------------------
Changes (by kencu):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 added 201811

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