mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
(Fdaemon_initialized): Initialize nfd.
This commit is contained in:
parent
813b0652d6
commit
29dadb541c
1 changed files with 1 additions and 1 deletions
|
|
@ -2467,7 +2467,7 @@ from the parent process and its tty file descriptors. */)
|
|||
error ("This function can only be called after loading the init files");
|
||||
|
||||
/* Get rid of stdin, stdout and stderr. */
|
||||
open ("/dev/null", O_RDWR);
|
||||
nfd = open ("/dev/null", O_RDWR);
|
||||
dup2 (nfd, 0);
|
||||
dup2 (nfd, 1);
|
||||
dup2 (nfd, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue