r2155: Reformat, plus steal from Samba4 :-).
commit3716dbc0cb9a8ca4027217b24dbf62a62f44e9f6
authorJeremy Allison <jra@samba.org>
Wed, 1 Sep 2004 01:33:55 +0000 (1 01:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:33 +0000 (10 10:52 -0500)
tree68629a2edc9266a04f8f6cecc1e69eee0e807496
parent341771857fecf9ef72a436c42e0571d486fa0dde
r2155: Reformat, plus steal from Samba4 :-).
tridge:
the lp_use_mmap() in map_file() is inappropriate for 2 reasons, so I have removed it.

 - lp_use_mmap() is really meant to cope with systems that have broken
   mmap coherence, but map_file() doesn't need coherence, as its maps
   read only

 - map_file() is used to map the charset files before loadparm has
   loaded, so lp_use_mmap() is always returning false for the major
   use of map_file()

Jeremy.
source/lib/util_file.c