diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index c77b537b664..f33339f5e22 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2300,6 +2300,8 @@ send_process (proc, buf, len) | |||
| 2300 | #if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON) | 2300 | #if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON) |
| 2301 | pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd), | 2301 | pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd), |
| 2302 | _PC_MAX_CANON); | 2302 | _PC_MAX_CANON); |
| 2303 | if (pty_max_bytes < 0) | ||
| 2304 | pty_max_bytes = 250; | ||
| 2303 | #else | 2305 | #else |
| 2304 | pty_max_bytes = 250; | 2306 | pty_max_bytes = 250; |
| 2305 | #endif | 2307 | #endif |