projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9d3fc
)
On OpenBSD, use FILE_MAP_OPTIMIZED.
author
Pascal Stumpf
<Pascal.Stumpf@cubes.de>
Mon, 19 Nov 2012 15:22:47 +0000
(16:22 +0100)
committer
Jon Trulson
<jon@radscan.com>
Tue, 20 Nov 2012 02:44:32 +0000
(19:44 -0700)
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
patch
|
blob
|
history
diff --git
a/cde/programs/dtfile/Imakefile
b/cde/programs/dtfile/Imakefile
index 112511239276288bb8d4fb56dd58cc938e3364c5..279389c2fe84bbf9fefd082590c500c1e2442d8a 100644
(file)
--- 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