rem: static void read_loop (int fd, char *buf, int len)
add: static void read_loop (int fd, char *buf, size_t len)
context: static void read_loop (int fd, char *buf, int len){	while (len) {		int n = read_timeout(fd, buf, len);		buf += n;		len -= n;	}}