changeset 1031:2b11e85880d3

entered into RCS
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 Aug 1992 07:10:23 +0000
parents 9934251d8219
children 82e5f56edf0e
files lib-src/emacsclient.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Sat Aug 22 02:53:24 1992 +0000
+++ b/lib-src/emacsclient.c	Sat Aug 22 07:10:23 1992 +0000
@@ -212,7 +212,7 @@
   strcat (buf, "/.emacs_server");
   creat (buf, 0600);
   key = ftok (buf, 1);	/* unlikely to be anyone else using it */
-  s = msgget (key, 0600);
+  s = msgget (key, 0600 | IPC_CREAT);
   if (s == -1)
     {
       fprintf (stderr, "%s: ", argv[0]);