Mercurial > emacs
diff src/emacs.c @ 99226:9065d5721384
(Fdaemon_initialized): Initialize nfd.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 29 Oct 2008 18:03:03 +0000 |
parents | c1511154e8c2 |
children | bf6e1cf74209 |
line wrap: on
line diff
--- a/src/emacs.c Wed Oct 29 18:02:53 2008 +0000 +++ b/src/emacs.c Wed Oct 29 18:03:03 2008 +0000 @@ -2467,7 +2467,7 @@ 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);