diff options
| -rw-r--r-- | input.c | 2 | ||||
| -rw-r--r-- | open.c | 2 | ||||
| -rw-r--r-- | rc.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -122,7 +122,7 @@ system, you lose. */ r = rc_read(istack->fd, inbuf + 2, BUFSIZE); sigchk(); if (errno == EAGAIN) { - makenonblock(istack->fd); + makeblocking(istack->fd); errno = EINTR; } } while (r < 0 && errno == EINTR); @@ -27,7 +27,7 @@ extern int rc_open(const char *name, redirtype m) { /* make a file descriptor non blocking. must only be called after read() has returned EAGAIN. */ -extern void makenonblock(int fd) { +extern void makeblocking(int fd) { int flags; if ((flags = fcntl(fd, F_GETFL)) == -1) { @@ -304,7 +304,7 @@ extern void restoreblock(Block *); /* open.c */ extern int rc_open(const char *, redirtype); -extern void makenonblock(int); +extern void makeblocking(int); /* print.c */ /* |