1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(send_process): If fpathconf fails, use 250.

This commit is contained in:
Richard M. Stallman 1994-04-21 19:54:28 +00:00
parent 69fdec9e4d
commit 51632cc823

View File

@ -2300,6 +2300,8 @@ send_process (proc, buf, len)
#if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON)
pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd),
_PC_MAX_CANON);
if (pty_max_bytes < 0)
pty_max_bytes = 250;
#else
pty_max_bytes = 250;
#endif