[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/emacs.c,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/emacs.c,v |
Date: |
Mon, 22 Sep 2008 12:42:53 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/09/22 12:42:52
Index: emacs.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/emacs.c,v
retrieving revision 1.444
retrieving revision 1.445
diff -u -b -r1.444 -r1.445
--- emacs.c 21 Sep 2008 23:31:48 -0000 1.444
+++ emacs.c 22 Sep 2008 12:42:52 -0000 1.445
@@ -1071,9 +1071,9 @@
exit (0);
}
-#ifndef DOS_NT
if (argmatch (argv, argc, "-daemon", "--daemon", 5, NULL, &skip_args))
{
+#ifndef DOS_NT
pid_t f = fork();
int nfd;
if (f > 0)
@@ -1093,11 +1093,11 @@
#ifdef HAVE_SETSID
setsid();
#endif
- }
#else /* DOS_NT */
fprintf (stderr, "This platform does not support the -daemon flag.\n");
exit (1);
#endif /* DOS_NT */
+ }
if (! noninteractive)
{