[asterisk-commits] tilghman: branch 1.4 r133709 - /branches/1.4/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 25 13:00:34 CDT 2008
Author: tilghman
Date: Fri Jul 25 13:00:33 2008
New Revision: 133709
URL: http://svn.digium.com/view/asterisk?view=rev&rev=133709
Log:
Remove unnecessary mmap flag
(Closes issue #13161)
Modified:
branches/1.4/apps/app_voicemail.c
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=133709&r1=133708&r2=133709
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Fri Jul 25 13:00:33 2008
@@ -1456,7 +1456,7 @@
fdlen = lseek(fd, 0, SEEK_END);
lseek(fd, 0, SEEK_SET);
printf("Length is %zd\n", fdlen);
- fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_32BIT, fd, 0);
+ fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
if (fdm == MAP_FAILED) {
ast_log(LOG_WARNING, "Memory map failed!\n");
ast_odbc_release_obj(obj);
More information about the asterisk-commits
mailing list