aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2011-04-08 14:53:26 -0400
committerChong Yidong2011-04-08 14:53:26 -0400
commit6b8bc570715801cb194dc4273370eab87628e8bf (patch)
tree01e4531fd38069dffbfb0150a2a596ddd8de2bd2 /src
parent3726838a9cca22d420036cd2462398f54318f5d5 (diff)
parent0080dc6bd919f83c036bb6072800032b1723b248 (diff)
downloademacs-6b8bc570715801cb194dc4273370eab87628e8bf.tar.gz
emacs-6b8bc570715801cb194dc4273370eab87628e8bf.zip
Merge changes from emacs-23 branch
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/process.c6
-rw-r--r--src/term.c3
3 files changed, 12 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dc06f81d972..efacbbc4583 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12011-04-08 Svante Signell <svante.signell@telia.com> (tiny change)
2
3 * term.c (init_tty): Fix incorrect ifdef placement (Bug#8450).
4
52011-03-19 Christoph Scholtes <cschol2112@googlemail.com>
6
7 * process.c (Fformat_network_address): Doc fix.
8
12011-04-08 T.V. Raman <tv.raman.tv@gmail.com> (tiny change) 92011-04-08 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2 10
3 * xml.c (parse_region): Avoid creating spurious whiespace nodes. 11 * xml.c (parse_region): Avoid creating spurious whiespace nodes.
diff --git a/src/process.c b/src/process.c
index 4476014edfa..6cddbf6d1a9 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1261,9 +1261,9 @@ at end of BUFFER, unless you specify an output stream or filter
1261function to handle the output. BUFFER may also be nil, meaning that 1261function to handle the output. BUFFER may also be nil, meaning that
1262this process is not associated with any buffer. 1262this process is not associated with any buffer.
1263 1263
1264PROGRAM is the program file name. It is searched for in PATH. If 1264PROGRAM is the program file name. It is searched for in `exec-path'
1265nil, just associate a pty with the buffer. Remaining arguments are 1265(which see). If nil, just associate a pty with the buffer. Remaining
1266strings to give program as arguments. 1266arguments are strings to give program as arguments.
1267 1267
1268If you want to separate standard output from standard error, invoke 1268If you want to separate standard output from standard error, invoke
1269the command through a shell and redirect one of them using the shell 1269the command through a shell and redirect one of them using the shell
diff --git a/src/term.c b/src/term.c
index 39c9592e28f..9be9950d5eb 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3155,13 +3155,12 @@ init_tty (const char *name, const char *terminal_type, int must_succeed)
3155 if we don't have one at the moment. */ 3155 if we don't have one at the moment. */
3156 fd = emacs_open (name, O_RDWR | O_IGNORE_CTTY | O_NOCTTY, 0); 3156 fd = emacs_open (name, O_RDWR | O_IGNORE_CTTY | O_NOCTTY, 0);
3157 else 3157 else
3158#else 3158#endif /* O_IGNORE_CTTY */
3159 /* Alas, O_IGNORE_CTTY is a GNU extension that seems to be only 3159 /* Alas, O_IGNORE_CTTY is a GNU extension that seems to be only
3160 defined on Hurd. On other systems, we need to explicitly 3160 defined on Hurd. On other systems, we need to explicitly
3161 dissociate ourselves from the controlling tty when we want to 3161 dissociate ourselves from the controlling tty when we want to
3162 open a frame on the same terminal. */ 3162 open a frame on the same terminal. */
3163 fd = emacs_open (name, O_RDWR | O_NOCTTY, 0); 3163 fd = emacs_open (name, O_RDWR | O_NOCTTY, 0);
3164#endif /* O_IGNORE_CTTY */
3165 3164
3166 tty->name = xstrdup (name); 3165 tty->name = xstrdup (name);
3167 terminal->name = xstrdup (name); 3166 terminal->name = xstrdup (name);