# HG changeset patch # User Richard M. Stallman # Date 766958068 0 # Node ID 89f37ab7b78134c652fe69e7e8d6101a3e05642f # Parent 1857dd7c6f04ee40d40cde325ab4e6ce2844186a (send_process): If fpathconf fails, use 250. diff -r 1857dd7c6f04 -r 89f37ab7b781 src/process.c --- a/src/process.c Thu Apr 21 19:45:27 1994 +0000 +++ b/src/process.c Thu Apr 21 19:54:28 1994 +0000 @@ -2300,6 +2300,8 @@ #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