diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2014-09-18 01:16:08 +0000 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-09-18 01:16:08 +0000 |
commit | cc94f989c49e4645796fb7dcc471ebb696606ffa (patch) | |
tree | 7a2c64ce10d5206c168d673bf5f1b3f44906bf16 /bmp.h | |
parent | 1244d523e3b59dbb8fab7320587f11a9333d33dd (diff) |
fix non persistent changes to file
when using MAP_PRIVATE with mmap(), the content is not updated in the
filesystem. Only the mapping is changed.
fixed by replacing MAP_PRIVATE by MAP_SHARED
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'bmp.h')
0 files changed, 0 insertions, 0 deletions