Commit 998aa1cc 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
* mezzanine/mezzanine/Makefile:
   - linux compile changes
* mezzanine/mezzanine/mezzanine.c:
   - ipc bugfixes
* mezzanine/mezzcal/mezzcal.c:
   - ipc bugfixes
parent 9e2609e1
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Desc: Mezzanine calibration tool. * Desc: Mezzanine calibration tool.
* Author: Andrew Howard * Author: Andrew Howard
* Date: 28 Mar 2002 * Date: 28 Mar 2002
* CVS: $Id: mezzcal.c,v 1.1 2004-12-12 23:36:34 johnsond Exp $ * CVS: $Id: mezzcal.c,v 1.2 2004-12-15 05:06:37 johnsond Exp $
***************************************************************************/ ***************************************************************************/
#include <signal.h> #include <signal.h>
...@@ -85,11 +85,11 @@ int main(int argc, char **argv) ...@@ -85,11 +85,11 @@ int main(int argc, char **argv)
if (tmpdir == NULL) if (tmpdir == NULL)
tmpdir = "/tmp"; tmpdir = "/tmp";
snprintf(ipcfilename,sizeof(ipcfilename),"%s/mezz_instance%s.ipc", snprintf(ipcfilename,sizeof(ipcfilename),"%s",
tmpdir,opt_get_string("fgrab","device","unknown_device")); opt_get_string("fgrab","device","unknown_device"));
// Initialise the IPC // Initialise the IPC
if (mezz_init(0,ipfcfilename) < 0) if (mezz_init(0,ipcfilename) < 0)
return -1; return -1;
mmap = mezz_mmap(); mmap = mezz_mmap();
......
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