[Mplayer-cvslog] CVS: main/loader ldt_keeper.c,1.10,1.11

Alex Beregszaszi alex at mplayerhq.hu
Sun Nov 17 18:41:22 CET 2002


Update of /cvsroot/mplayer/main/loader
In directory mail:/var/tmp.root/cvs-serv4199

Modified Files:
	ldt_keeper.c 
Log Message:
exporting fs_seg

Index: ldt_keeper.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/ldt_keeper.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ldt_keeper.c	16 Nov 2002 09:38:23 -0000	1.10
+++ ldt_keeper.c	17 Nov 2002 17:41:19 -0000	1.11
@@ -161,7 +161,7 @@
 }
 #endif
 
-//void* fs_seg=0;
+void* fs_seg=0;
 
 ldt_fs_t* Setup_LDT_Keeper(void)
 {
@@ -177,7 +177,7 @@
         perror( "Cannot open /dev/zero for READ+WRITE. Check permissions! error: ");
 	return NULL;
     }
-//    fs_seg=
+    fs_seg=
     ldt_fs->fs_seg = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, MAP_PRIVATE,
 			  ldt_fs->fd, 0);
     if (ldt_fs->fs_seg == (void*)-1)




More information about the MPlayer-cvslog mailing list