[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110909: Remove no-longer-used pty_ma
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110909: Remove no-longer-used pty_max_bytes variable. |
Date: |
Fri, 16 Nov 2012 07:29:22 -0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110909
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2012-11-16 07:29:22 -0800
message:
Remove no-longer-used pty_max_bytes variable.
* configure.ac (fpathconf): Remove unnecessary check.
* admin/CPP-DEFINES (HAVE_FPATHCONF): Remove.
* src/process.c (pty_max_bytes): Remove; unused.
(send_process): Do not set it.
modified:
ChangeLog
admin/CPP-DEFINES
admin/ChangeLog
configure.ac
src/ChangeLog
src/process.c
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-11-14 04:55:41 +0000
+++ b/ChangeLog 2012-11-16 15:29:22 +0000
@@ -1,3 +1,8 @@
+2012-11-16 Paul Eggert <address@hidden>
+
+ Remove no-longer-used pty_max_bytes variable.
+ * configure.ac (fpathconf): Remove unnecessary check.
+
2012-11-14 Paul Eggert <address@hidden>
Use faccessat, not access, when checking file permissions (Bug#12632).
=== modified file 'admin/CPP-DEFINES'
--- a/admin/CPP-DEFINES 2012-11-05 03:18:32 +0000
+++ b/admin/CPP-DEFINES 2012-11-16 15:29:22 +0000
@@ -152,7 +152,6 @@
HAVE_EUIDACCESS
HAVE_FCNTL_H
HAVE_FORK
-HAVE_FPATHCONF
HAVE_FREEIFADDRS
HAVE_FREETYPE
HAVE_FSEEKO
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog 2012-11-14 04:55:41 +0000
+++ b/admin/ChangeLog 2012-11-16 15:29:22 +0000
@@ -1,3 +1,8 @@
+2012-11-16 Paul Eggert <address@hidden>
+
+ Remove no-longer-used pty_max_bytes variable.
+ * CPP-DEFINES (HAVE_FPATHCONF): Remove.
+
2012-11-14 Paul Eggert <address@hidden>
Use faccessat, not access, when checking file permissions (Bug#12632).
=== modified file 'configure.ac'
--- a/configure.ac 2012-11-14 04:55:41 +0000
+++ b/configure.ac 2012-11-16 15:29:22 +0000
@@ -2874,7 +2874,7 @@
AC_CHECK_FUNCS(gethostname \
closedir getrusage get_current_dir_name \
lrand48 \
-fpathconf select getpagesize setlocale \
+select getpagesize setlocale \
utimes getrlimit setrlimit getcwd shutdown getaddrinfo \
strsignal setitimer \
sendto recvfrom getsockname getpeername getifaddrs freeifaddrs \
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-11-15 16:21:50 +0000
+++ b/src/ChangeLog 2012-11-16 15:29:22 +0000
@@ -1,3 +1,9 @@
+2012-11-16 Paul Eggert <address@hidden>
+
+ Remove no-longer-used pty_max_bytes variable.
+ * process.c (pty_max_bytes): Remove; unused.
+ (send_process): Do not set it.
+
2012-11-15 Juanma Barranquero <address@hidden>
* makefile.w32-in ($(BLD)/dispnew.$(O), $(BLD)/emacs.$(O)):
=== modified file 'src/process.c'
--- a/src/process.c 2012-11-14 04:55:41 +0000
+++ b/src/process.c 2012-11-16 15:29:22 +0000
@@ -340,9 +340,6 @@
#define DATAGRAM_CONN_P(proc) (0)
#endif
-/* Maximum number of bytes to send to a pty without an eof. */
-static int pty_max_bytes;
-
/* These setters are used only in this file, so they can be private. */
static void
pset_buffer (struct Lisp_Process *p, Lisp_Object val)
@@ -5532,19 +5529,6 @@
buf = SSDATA (object);
}
- if (pty_max_bytes == 0)
- {
-#if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON)
- pty_max_bytes = fpathconf (p->outfd, _PC_MAX_CANON);
- if (pty_max_bytes < 0)
- pty_max_bytes = 250;
-#else
- pty_max_bytes = 250;
-#endif
- /* Deduct one, to leave space for the eof. */
- pty_max_bytes--;
- }
-
/* If there is already data in the write_queue, put the new data
in the back of queue. Otherwise, ignore it. */
if (!NILP (p->write_queue))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110909: Remove no-longer-used pty_max_bytes variable.,
Paul Eggert <=