(start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
+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.
else if (dpid < 0)
{
fprintf (stderr, "Error: Cannot fork!\n");
- exit (1);
+ exit (EXIT_FAILURE);
}
else
{
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, " ");