git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c36eef
)
r7703: Fix the problem with MAP_PRIVATE not updating the file.
author
Richard Sharpe
<sharpe@samba.org>
Fri, 17 Jun 2005 21:52:58 +0000
(21:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:57:20 +0000
(10:57 -0500)
source/utils/profiles.c
patch
|
blob
|
history
diff --git
a/source/utils/profiles.c
b/source/utils/profiles.c
index 5b5cb7f07b2f71effeb0ece9c62fd98c3fef93be..0830d6b74b058be85614ab0b21d66071e91636f4 100644
(file)
--- a/
source/utils/profiles.c
+++ b/
source/utils/profiles.c
@@
-610,7
+610,7
@@
int main(int argc, char *argv[])
*/
#ifdef HAVE_MMAP
- base = mmap(NULL, sbuf.st_size, PROT_READ | PROT_WRITE, MAP_
PRIVATE
, fd, 0);
+ base = mmap(NULL, sbuf.st_size, PROT_READ | PROT_WRITE, MAP_
SHARED
, fd, 0);
#else
base = (char *)-1;
errno = ENOSYS;