diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index b1b11bd1b..d48cd016f 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -5918,7 +5918,7 @@ expbackq(union node *cmd, int quoted, int quotes) | |||
5918 | read: | 5918 | read: |
5919 | if (in.fd < 0) | 5919 | if (in.fd < 0) |
5920 | break; | 5920 | break; |
5921 | i = nonblock_immune_read(in.fd, buf, sizeof(buf)); | 5921 | i = nonblock_immune_read(in.fd, buf, sizeof(buf), /*loop_on_EINTR:*/ 1); |
5922 | TRACE(("expbackq: read returns %d\n", i)); | 5922 | TRACE(("expbackq: read returns %d\n", i)); |
5923 | if (i <= 0) | 5923 | if (i <= 0) |
5924 | break; | 5924 | break; |
@@ -9617,7 +9617,7 @@ preadfd(void) | |||
9617 | #if ENABLE_FEATURE_EDITING | 9617 | #if ENABLE_FEATURE_EDITING |
9618 | retry: | 9618 | retry: |
9619 | if (!iflag || g_parsefile->pf_fd != STDIN_FILENO) | 9619 | if (!iflag || g_parsefile->pf_fd != STDIN_FILENO) |
9620 | nr = nonblock_immune_read(g_parsefile->pf_fd, buf, IBUFSIZ - 1); | 9620 | nr = nonblock_immune_read(g_parsefile->pf_fd, buf, IBUFSIZ - 1, /*loop_on_EINTR:*/ 1); |
9621 | else { | 9621 | else { |
9622 | int timeout = -1; | 9622 | int timeout = -1; |
9623 | # if ENABLE_ASH_IDLE_TIMEOUT | 9623 | # if ENABLE_ASH_IDLE_TIMEOUT |
@@ -9663,7 +9663,7 @@ preadfd(void) | |||
9663 | } | 9663 | } |
9664 | } | 9664 | } |
9665 | #else | 9665 | #else |
9666 | nr = nonblock_immune_read(g_parsefile->pf_fd, buf, IBUFSIZ - 1); | 9666 | nr = nonblock_immune_read(g_parsefile->pf_fd, buf, IBUFSIZ - 1, /*loop_on_EINTR:*/ 1); |
9667 | #endif | 9667 | #endif |
9668 | 9668 | ||
9669 | #if 0 /* disabled: nonblock_immune_read() handles this problem */ | 9669 | #if 0 /* disabled: nonblock_immune_read() handles this problem */ |