[MacPorts] #70897: openssl3: fails to destroot due to cp errors when installing man docs.

MacPorts noreply at macports.org
Wed Sep 25 07:24:22 UTC 2024


#70897: openssl3: fails to destroot due to cp errors when installing man docs.
----------------------------+---------------------
  Reporter:  christophecvr  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.99
Resolution:                 |   Keywords:
      Port:  openssl3       |
----------------------------+---------------------

Comment (by ryandesign):

 Looking at [browser:macports-base/src/programs/cp/cp.c the code for the cp
 wrapper], it doesn't look like `new_argv` is `NULL`-terminated, but the
 manpage says it must be.

 Also, why `execve`? The advantage of `execve` seems to be that you can
 specify the environment array, but since you're just passing in the
 existing `environ`, wouldn't it be simpler to use `execv` that does that
 automatically?

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


More information about the macports-tickets mailing list