See patch. Other OSes might want to do this as well ...
>From 3f0f3a4909692ededd08892260140fd6c8f97f7d Mon Sep 17 00:00:00 2001
From: Pascal Stumpf <pascal.stu...@cubes.de>
Date: Mon, 19 Nov 2012 16:22:47 +0100
Subject: [PATCH] On OpenBSD, use FILE_MAP_OPTIMIZED.
This has the effect of not performing a tt call each time in
ResolveLocalPathName() if we're on the local host anyway. Drastically reduces
dtfile startup time.
---
cde/programs/dtfile/Imakefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/cde/programs/dtfile/Imakefile b/cde/programs/dtfile/Imakefile
index 1125112..279389c 100644
--- a/cde/programs/dtfile/Imakefile
+++ b/cde/programs/dtfile/Imakefile
@@ -24,6 +24,10 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
EXTRA_DEFINES = -D_TOOLTALK
#endif
+#ifdef OpenBSDArchitecture
+EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
+#endif
+
#if defined (SunArchitecture)
EXTRA_CCOPTIONS = -xF
#endif
--
1.7.6
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel