summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2011-06-02 09:56:04 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2011-06-02 09:56:04 -0700
commit8b3115e7025b5091b2a7cd68f6ac3442964b59e5 (patch)
tree00e1bd201338592f92776b9a3a21f993ef30e916 /src
parent14eca62f5c52fd5c6f362121d86046cdb65ade9b (diff)
downloademacs-8b3115e7025b5091b2a7cd68f6ac3442964b59e5.tar.gz
* src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/emacs.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cd98ec04aa4..a86a23e7c0b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * emacs.c (main): Warn when starting a GTK emacs in daemon mode.
+
2011-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* fringe.c (update_window_fringes): Don't update overlay arrow bitmap
diff --git a/src/emacs.c b/src/emacs.c
index e515f7ec6fa..eaeeb35d587 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1120,6 +1120,11 @@ main (int argc, char **argv)
}
#ifndef NS_IMPL_COCOA
+#ifdef USE_GTK
+ fprintf (stderr, "\nWarning: due to a long standing Gtk+ bug\nhttp://bugzilla.gnome.org/show_bug.cgi?id=85715\n\
+Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.\n\
+Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.\n");
+#endif
f = fork ();
#else /* NS_IMPL_COCOA */
/* Under Cocoa we must do fork+exec as CoreFoundation lib fails in