git-gethostname
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
commitd602a621b3c79cf886afb0dd370de35a8dc8e110
treecceadd18066b58576cf903cd8208cab2193a27be
parentdc59586c5aa4b97cb6c2d68aeecffdf4a6498647
git-gethostname

commit 507fe02799e7dbaba9ebaf3264731fc3b928ba77
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Sep 7 00:51:17 2017 +0200

    hurd: fix gethostname(NULL, 0)

            * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
            before assuming that the file is empty.  Avoid testing buffer content
            when nread == 0.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-gethostname.diff
hurd/get-host.c