26 lines
841 B
Text
26 lines
841 B
Text
$NetBSD: patch-ab,v 1.2 2003/01/27 23:39:03 ad Exp $
|
|
|
|
--- dpteng/engcalls.c.orig Tue Aug 13 16:02:24 2002
|
|
+++ dpteng/engcalls.c Fri Dec 13 14:14:51 2002
|
|
@@ -118,6 +118,12 @@
|
|
char *CommEnginePathNameDefault = "/opt/SUNWhwrdg/dptcom";
|
|
char *DefaultPathName = "/opt/SUNWhwrdg/";
|
|
|
|
+#elif defined (__NetBSD__)
|
|
+
|
|
+char *EnginePathNameDefault = _NBSD_LIBEXEC "/dpteng &";
|
|
+char *CommEnginePathNameDefault = _NBSD_LIBEXEC "/dptcom &";
|
|
+char *DefaultPathName = _NBSD_LIBEXEC;
|
|
+
|
|
#else
|
|
|
|
char *EnginePathNameDefault = "/usr/dpt/dpteng &";
|
|
@@ -954,7 +960,7 @@
|
|
/* Get The Shared Memory Segment */
|
|
|
|
BufferID = shmget(IPC_PRIVATE,(int)(toEngTotalSize + fromEngTotalSize),
|
|
- SHM_ALLRD | SHM_ALLWR | IPC_CREAT);
|
|
+ SHM_URD | SHM_UWR | IPC_CREAT);
|
|
|
|
/* If We Got The Segment, Try To Attach To It */
|
|
|