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
6ab88e02
Commit
6ab88e02
authored
Sep 29, 2010
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* emacsclient.c (main): Remove unused variables.
(start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
parent
5f874327
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lib-src/ChangeLog
lib-src/ChangeLog
+5
-0
lib-src/emacsclient.c
lib-src/emacsclient.c
+1
-3
No files found.
lib-src/ChangeLog
View file @
6ab88e02
2010-09-29 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (main): Remove unused variables.
(start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
2010-09-25 Ulrich Mueller <ulm@gentoo.org>
* etags.c (compressors, print_language_names): Support xz compression.
...
...
lib-src/emacsclient.c
View file @
6ab88e02
...
...
@@ -1476,7 +1476,7 @@ start_daemon_and_retry_set_socket (void)
else
if
(
dpid
<
0
)
{
fprintf
(
stderr
,
"Error: Cannot fork!
\n
"
);
exit
(
1
);
exit
(
EXIT_FAILURE
);
}
else
{
...
...
@@ -1576,8 +1576,6 @@ main (int argc, char **argv)
int
i
;
for
(
i
=
0
;
environ
[
i
];
i
++
)
{
char
*
name
=
xstrdup
(
environ
[
i
]);
char
*
value
=
strchr
(
name
,
'='
);
send_to_emacs
(
emacs_socket
,
"-env "
);
quote_argument
(
emacs_socket
,
environ
[
i
]);
send_to_emacs
(
emacs_socket
,
" "
);
...
...
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