emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/emacs.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/emacs.c,v
Date: Wed, 29 Oct 2008 18:03:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/10/29 18:03:03

Index: emacs.c
===================================================================
RCS file: /sources/emacs/emacs/src/emacs.c,v
retrieving revision 1.453
retrieving revision 1.454
diff -u -b -r1.453 -r1.454
--- emacs.c     28 Oct 2008 04:25:21 -0000      1.453
+++ emacs.c     29 Oct 2008 18:03:03 -0000      1.454
@@ -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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]