git-gethostname
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Fri, 5 Jan 2018 18:09:39 +0000 (18:09 +0000)
committerAurelien Jarno <aurel32@debian.org>
Fri, 5 Jan 2018 18:09:39 +0000 (18:09 +0000)
commit33c7894c8ed17aca7dcf091f7c0e9ccc6afc2652
tree9112d1bb816fb1d1af06263bbc9fab41e79ee276
parent575eaed53f7dc3c6cc521f1dbca93cd7f65c4c6c
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