svn commit: samba r2156 - in trunk/source/lib: .

jra at samba.org jra at samba.org
Wed Sep 1 01:34:04 GMT 2004


Author: jra
Date: 2004-09-01 01:34:00 +0000 (Wed, 01 Sep 2004)
New Revision: 2156

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/lib&rev=2156&nolog=1

Log:
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.

Modified:
   trunk/source/lib/util_file.c


Changeset:
Sorry, the patch is too large (802 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/lib&rev=2156&nolog=1


More information about the samba-cvs mailing list