Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
084fd64a
Commit
084fd64a
authored
May 24, 1993
by
Richard M. Stallman
Browse files
(create_process): Ignore retval from TIOCSTTY.
(sys_siglist) [LINUX]: Don't even declare it.
parent
e94817d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/process.c
src/process.c
+6
-2
No files found.
src/process.c
View file @
084fd64a
...
...
@@ -179,7 +179,9 @@ extern char *sys_errlist[];
#ifndef VMS
#ifndef BSD4_1
#ifndef LINUX
extern
char
*
sys_siglist
[];
#endif
#else
char
*
sys_siglist
[]
=
{
...
...
@@ -1253,8 +1255,10 @@ create_process (process, new_argv, current_dir)
setsid
();
#ifdef TIOCSCTTY
/* Make the pty's terminal the controlling terminal. */
if
(
pty_flag
&&
(
ioctl
(
xforkin
,
TIOCSCTTY
,
0
)
<
0
))
abort
();
if
(
pty_flag
)
/* We ignore the return value
because faith@cs.unc.edu says that is necessary on Linux. */
ioctl
(
xforkin
,
TIOCSCTTY
,
0
);
#endif
#else
/* not HAVE_SETSID */
#ifdef USG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment