eina: leave a comment for CID 1039688.

This commit is contained in:
Cedric BAIL 2014-06-05 22:26:07 +02:00
parent 2dd6e7f302
commit caa2ec1b29
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ eina_mmap_safety_enabled_set(Eina_Bool enabled)
#ifdef HAVE_FCNTL
flags = fcntl(_eina_mmap_zero_fd, F_GETFD);
flags |= FD_CLOEXEC;
fcntl(_eina_mmap_zero_fd, F_SETFD, flags);
fcntl(_eina_mmap_zero_fd, F_SETFD, flags); /* If this fail, it will just leak a fd to zero ... */
#endif
}
/* set up signal handler for SIGBUS */