mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
r25534: Apply some const
Why? It moves these structs from the data into the text segment, so they
will never been copy-on-write copied. Not much, but as in German you say
"Kleinvieh macht auch Mist...."
(This used to be commit 0141e64ad4
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9d1a95ac9c
commit
0ebab65706
@ -29,7 +29,7 @@ static TDB_CONTEXT *share_tdb; /* used for share security descriptors */
|
||||
|
||||
/* Map generic permissions to file object specific permissions */
|
||||
|
||||
static struct generic_mapping file_generic_mapping = {
|
||||
static const struct generic_mapping file_generic_mapping = {
|
||||
FILE_GENERIC_READ,
|
||||
FILE_GENERIC_WRITE,
|
||||
FILE_GENERIC_EXECUTE,
|
||||
|
Reference in New Issue
Block a user