[openssh-commits] [openssh] branch master updated (b446c214 -> f88a7a43)

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Feb 6 09:42:15 AEDT 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a change to branch master
in repository openssh.

      from  b446c214  upstream: hostname is not specified by POSIX but uname -n is, so use
       new  5e385a71  upstream: Roll back the hostname->uname change in rev 1.10. It turns
       new  f88a7a43  Add a hostname function for systems that don't have it.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit f88a7a431212a16e572ecabd559e632f369c363e
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Feb 6 09:37:01 2021 +1100

    Add a hostname function for systems that don't have it.
    
    Some systems don't have a hostname command (it's not required by POSIX).
    The do have uname -n (which is), but as found by tim@ some others (eg
    UnixWare) do not report the FQDN from uname -n.

commit 5e385a71ef2317856f37c91a98658eb12eb5a89c
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Fri Feb 5 22:03:40 2021 +0000

    upstream: Roll back the hostname->uname change in rev 1.10. It turns
    
    out uname -n doesn't do what we need for some platforms in portable, so we'll
    fix the original problem (that some other platforms don't have hostname at
    all) by providing wrapper function to implement it.
    
    OpenBSD-Regress-ID: 827a707d6201d5a8e196a8c28aec1d2c76c52341

Summary of changes:
 regress/percent.sh   | 6 +++---
 regress/test-exec.sh | 9 +++++++++
 2 files changed, 12 insertions(+), 3 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list