diff options
author | Glenn Morris <rgm@gnu.org> | 2012-07-11 22:14:29 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-07-11 22:14:29 -0400 |
commit | 42bd17194ca4b88032fb8b74aaf33b94b4353703 (patch) | |
tree | 341d6029243129f5c4aa1e5c6bee8ba6cc1d7e1f /src/s/freebsd.h | |
parent | 7ccad0028b6c1ee6c694332f70cb067a8169ab1e (diff) | |
download | emacs-42bd17194ca4b88032fb8b74aaf33b94b4353703.tar.gz |
Move more things from src/s to configure
* configure.ac (BROKEN_GET_CURRENT_DIR_NAME, BROKEN_PTY_READ_AFTER_EAGAIN)
(G_SLICE_ALWAYS_MALLOC): Move here from src/s.
* src/s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN):
* src/s/cygwin.h (G_SLICE_ALWAYS_MALLOC):
* src/s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Let configure set them.
Diffstat (limited to 'src/s/freebsd.h')
-rw-r--r-- | src/s/freebsd.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index b6bd160cc91..8200238bf1f 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -33,21 +33,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define BSD_SYSTEM 199506 #endif -/* Circumvent a bug in FreeBSD. In the following sequence of - writes/reads on a PTY, read(2) returns bogus data: - - write(2) 1022 bytes - write(2) 954 bytes, get EAGAIN - read(2) 1024 bytes in process_read_output - read(2) 11 bytes in process_read_output - - That is, read(2) returns more bytes than have ever been written - successfully. The 1033 bytes read are the 1022 bytes written - successfully after processing (for example with CRs added if the - terminal is set up that way which it is here). The same bytes will - be seen again in a later read(2), without the CRs. */ -#define BROKEN_PTY_READ_AFTER_EAGAIN 1 - /* Tell that garbage collector that setjmp is known to save all registers relevant for conservative garbage collection in the jmp_buf. */ #define GC_SETJMP_WORKS 1 |