Patches for dtscreen, dtsearchpath, dtsession on OBSD.
Do not redefine round(3), and provide a manpath for OpenBSD. (this is one of the few things that need to be adjusted for other BSDs)
This commit is contained in:
committed by
Jon Trulson
parent
43bae997c8
commit
71f3ed16f8
@@ -163,7 +163,7 @@ GetMemoryUtilization(void)
|
||||
#if !defined(linux)
|
||||
static int init = 0;
|
||||
static kmem;
|
||||
#if !defined(SVR4) && !defined(sco) && !defined(hpV4) && !defined(_POWER) && !defined (__osf__)
|
||||
#if !defined(SVR4) && !defined(sco) && !defined(hpV4) && !defined(_POWER) && !defined (__osf__) && !defined(CSRG_BASED)
|
||||
extern void nlist();
|
||||
#endif
|
||||
int i;
|
||||
|
||||
@@ -1352,7 +1352,7 @@ RemoveFiles(
|
||||
|
||||
_DtEnvControl(DT_ENV_RESTORE_PRE_DT);
|
||||
|
||||
#ifdef __osf__
|
||||
#if defined(__osf__) || defined(CSRG_BASED)
|
||||
setsid();
|
||||
#else
|
||||
(void) setpgrp();
|
||||
@@ -1457,7 +1457,7 @@ MoveDirectory(
|
||||
|
||||
_DtEnvControl(DT_ENV_RESTORE_PRE_DT);
|
||||
|
||||
#ifdef __osf__
|
||||
#if defined(__osf__) || defined(CSRG_BASED)
|
||||
setsid();
|
||||
#else
|
||||
(void) setpgrp();
|
||||
|
||||
Reference in New Issue
Block a user