Commit 5c592c8c authored by David Johnson's avatar David Johnson
Browse files

* 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
parent fa479e6e
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment