aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/emacs.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8177bea8a45..ccda62889f7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * emacs.c (main): Print and error and exit when no data is read
4 from the pipe.
5
12008-12-17 Jason Rumney <jasonr@gnu.org> 62008-12-17 Jason Rumney <jasonr@gnu.org>
2 7
3 * w32font.c (w32font_has_char): Always return -1. 8 * w32font.c (w32font_has_char): Always return -1.
diff --git a/src/emacs.c b/src/emacs.c
index bd733da303f..4ebf136063a 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1129,6 +1129,11 @@ main (int argc, char **argv)
1129 fprintf (stderr, "Error reading status from child\n"); 1129 fprintf (stderr, "Error reading status from child\n");
1130 exit (1); 1130 exit (1);
1131 } 1131 }
1132 else if (retval == 0)
1133 {
1134 fprintf (stderr, "Error: server did not start correctly\n");
1135 exit (1);
1136 }
1132 1137
1133 close (daemon_pipe[0]); 1138 close (daemon_pipe[0]);
1134 exit (0); 1139 exit (0);