From 5c592c8cc76be2108fbc4b272e792d7ecd732ce9 Mon Sep 17 00:00:00 2001 From: David Johnson <johnsond@flux.utah.edu> Date: Wed, 15 Dec 2004 05:05:40 +0000 Subject: [PATCH] * mezzanine/examples/simple/Makefile: - change so that `simple' binary gets installed appropriately * mezzanine/examples/simple/simple.c: - give `simple' a mezzanine file to connect to on command line. * mezzanine/libmezz/mezz.c: - fix ipc bugs --- robots/mezzanine/libmezz/mezz.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/robots/mezzanine/libmezz/mezz.c b/robots/mezzanine/libmezz/mezz.c index 4320bf9a48..35b87d81c9 100644 --- a/robots/mezzanine/libmezz/mezz.c +++ b/robots/mezzanine/libmezz/mezz.c @@ -21,7 +21,7 @@ * Desc: Mezzanine IPC wrapper * Author: Andrew Howard * Date: 28 Mar 2002 - * CVS: $Id: mezz.c,v 1.1 2004-12-12 23:36:33 johnsond Exp $ + * CVS: $Id: mezz.c,v 1.2 2004-12-15 05:05:40 johnsond Exp $ **************************************************************************/ #include <errno.h> @@ -89,7 +89,11 @@ int mezz_init(int create,char *ipcfilepath) else { ipc->filename = strdup(ipcfilepath); } + + printf("ipcfile = '%s'\n",ipc->filename); + strncpy(filename,ipc->filename,128); + // Create a file to map if (create) { -- GitLab