Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9d29095c
Commit
9d29095c
authored
Sep 22, 2008
by
Dan Nicolaescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Place #ifdef.in the proper place.
parent
b45c803b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/ChangeLog
src/ChangeLog
+4
-0
src/emacs.c
src/emacs.c
+4
-4
No files found.
src/ChangeLog
View file @
9d29095c
2008-09-22 Dan Nicolaescu <dann@ics.uci.edu>
* emacs.c (main): Place #ifdef.in the proper place.
2008-09-21 Dan Nicolaescu <dann@ics.uci.edu>
* emacs.c (standard_args): Add --daemon.
...
...
src/emacs.c
View file @
9d29095c
...
...
@@ -1071,9 +1071,9 @@ main (int argc, char **argv)
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 @@ main (int argc, char **argv)
#ifdef HAVE_SETSID
setsid
();
#endif
}
#else
/* DOS_NT */
fprintf
(
stderr
,
"This platform does not support the -daemon flag.
\n
"
);
exit
(
1
);
fprintf
(
stderr
,
"This platform does not support the -daemon flag.
\n
"
);
exit
(
1
);
#endif
/* DOS_NT */
}
if
(
!
noninteractive
)
{
...
...
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