[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    Re: Passing SFTP options when using SCP
From:       Darren Tucker <dtucker () dtucker ! net>
Date:       2022-12-14 21:47:17
Message-ID: CALDDTe2MBYQTbSXDQWj3qEZt1C0zLaKS4-KLrGVQEypcsRwmxQ () mail ! gmail ! com
[Download RAW message or body]

On Thu, 15 Dec 2022 at 06:10, Chris Rapier <rapier@psc.edu> wrote:
> On 12/13/22 3:15 PM, Damien Miller wrote:
[...]
> > Yes, libutil is a BSD library. It's included in libopenbsd-compat for
> > portable OpenSSH.
>
> I'm not seeing it in V_9_1_P1. The only place it's referenced is in
> bsd-openpty.c and there it's wrapped in ifdefs.

The functionality libutil provides (eg fmt_scaled/scan_scaled) is in
libopenbsd-compat if needed.  There's no explicit util.h file.

We could potentially have configure create empty files for them in
openbsd-compat where the platform doesn't have the file.  The header
search includes openbsd-compat, so #include <util.h> would find them
there and remove the need for the ifdefs, but I'm not sure if that
would be a net improvement or not.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic