pacman/src/common
Andrew Gregory c792262b13 wrap fgets to retry on EINTR
The read() underlying fgets() can be interrupted by a signal handler
causing fgets() to return NULL.  Before we started handling SIGWINCH,
the odds of interrupting a read were low and typically resulted in
termination anyway.  Replace all fgets calls with a wrapper that retries
in EINTR.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2014-09-23 21:43:16 +10:00
..
Makefile.am Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
util-common.c wrap fgets to retry on EINTR 2014-09-23 21:43:16 +10:00
util-common.h wrap fgets to retry on EINTR 2014-09-23 21:43:16 +10:00