comparison src/process.c @ 6253:42914264b095

(send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before trying to use fpathconf.
author Roland McGrath <roland@gnu.org>
date Tue, 08 Mar 1994 06:53:48 +0000
parents d047d5a48e0e
children 9a6531e6de5d
comparison
equal deleted inserted replaced
6252:e862f607f34f 6253:42914264b095
2257 SIGTYPE (*old_sigpipe)(); 2257 SIGTYPE (*old_sigpipe)();
2258 int flush_pty = 0; 2258 int flush_pty = 0;
2259 2259
2260 if (pty_max_bytes == 0) 2260 if (pty_max_bytes == 0)
2261 { 2261 {
2262 #ifdef _PC_MAX_CANON 2262 #if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON)
2263 pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd), 2263 pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd),
2264 _PC_MAX_CANON); 2264 _PC_MAX_CANON);
2265 #else 2265 #else
2266 pty_max_bytes = 250; 2266 pty_max_bytes = 250;
2267 #endif 2267 #endif