[MPlayer-cvslog] r21260 - trunk/loader/ldt_keeper.c
reimar
subversion at mplayerhq.hu
Sun Nov 26 13:55:09 CET 2006
Author: reimar
Date: Sun Nov 26 13:55:09 2006
New Revision: 21260
Modified:
trunk/loader/ldt_keeper.c
Log:
open /dev/zero left over from mmap_anon patch
Modified: trunk/loader/ldt_keeper.c
==============================================================================
--- trunk/loader/ldt_keeper.c (original)
+++ trunk/loader/ldt_keeper.c Sun Nov 26 13:55:09 2006
@@ -195,11 +195,6 @@
if (!ldt_fs)
return NULL;
- ldt_fs->fd = open("/dev/zero", O_RDWR);
- if(ldt_fs->fd<0){
- perror( "Cannot open /dev/zero for READ+WRITE. Check permissions! error: ");
- return NULL;
- }
fs_seg=
ldt_fs->fs_seg = mmap_anon(NULL, getpagesize(), PROT_READ | PROT_WRITE, MAP_PRIVATE, &ldt_fs->fd,
0);
More information about the MPlayer-cvslog
mailing list