From: Ralph Corderoy Date: Wed, 19 Oct 2016 12:04:12 +0000 (+0100) Subject: Don't recurse in advertise() on writev(2) error, just write(2). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/390acba226dd2bce2335ffed2318a79d554861da?hp=390acba226dd2bce2335ffed2318a79d554861da Don't recurse in advertise() on writev(2) error, just write(2). Some errors, e.g. EPIPE, cause the advise()'s call to another advertise() to fail again, ad segvinitum when stack busts. Instead, snprintf(3) and write(2) that single string, ignoring any error. ---