From: Richard M. Stallman Date: Thu, 21 Apr 1994 19:54:28 +0000 (+0000) Subject: (send_process): If fpathconf fails, use 250. X-Git-Tag: emacs-19.34~8840 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51632cc823e2c711701a08733b806b38619c3579;p=emacs.git (send_process): If fpathconf fails, use 250. --- 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) #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