heimdal/heimdal — pull request #31 by jhutz (2013-06-19 02:53:01+00:00)
Title: hcrypto/rand-unix.c: Ignore write(2) result harder

unix_seed(), called by the add-seed-data op unix_add(), attempts to
write seed data to the random data device. If this fails, the failure
is ignored, as it must be, since there is no way to inform the caller.

This change modifies the way in which the return value from write(2)
is ignored, to avoid compiler warnings when building on Ubuntu 12.10,
with gcc 4.7.2 and eglibc 2.15-0ubuntu20.1.