whenever fail_if gotos to the failure clause, print whence

Signed-off-by: Mattias Andrée <maandree@operamail.com>
replace all goto pfail with fail_if, so that we can take whence it failed

Signed-off-by: Mattias Andrée <maandree@operamail.com>
replace all variants of goto pfail with fail_if

Signed-off-by: Mattias Andrée <maandree@operamail.com>
no more goto fail

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m + make sure we never lose errno

Signed-off-by: Mattias Andrée <maandree@operamail.com>
rename pfail to fail

Signed-off-by: Mattias Andrée <maandree@operamail.com>
update the texinfo manual for the new use of fail_if

Signed-off-by: Mattias Andrée <maandree@operamail.com>
with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_if

Signed-off-by: Mattias Andrée <maandree@operamail.com>
with a few exceptions, never return directly on failure, always goto fail by invoking fail_if

Signed-off-by: Mattias Andrée <maandree@operamail.com>
do no print whence an error occurred if it is EMSGSIZE, ECONNRESET or EINTR, those are not real errors, just abnormalities

Signed-off-by: Mattias Andrée <maandree@operamail.com>
make fail_if friendlier to complex if-statements

Signed-off-by: Mattias Andrée <maandree@operamail.com>
make exit_if easier on the syntax

Signed-off-by: Mattias Andrée <maandree@operamail.com>
make sure errno is not changed during fail_if

Signed-off-by: Mattias Andrée <maandree@operamail.com>
missed to change some parts

Signed-off-by: Mattias Andrée <maandree@operamail.com>
report an error, rather than causing failure the caller but not for the called function

Signed-off-by: Mattias Andrée <maandree@operamail.com>
merge track-errors and resolve conflict

Signed-off-by: Mattias Andrée <maandree@operamail.com>