[Mplayer-cvslog] CVS: main/loader ldt_keeper.c,1.2,1.3

Jürgen Keil jkeil at mplayer.dev.hu
Thu Oct 4 13:18:00 CEST 2001


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

Modified Files:
	ldt_keeper.c 
Log Message:
(solaris x86) C++ style variable declaration not at the start of a block does
not work in mplayer, add a block to declare local variable.


Index: ldt_keeper.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/ldt_keeper.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ldt_keeper.c	4 Oct 2001 02:21:34 -0000	1.2
+++ ldt_keeper.c	4 Oct 2001 11:17:39 -0000	1.3
@@ -199,6 +199,7 @@
 #endif  /* __NetBSD__ || __FreeBSD__ || __OpenBSD__ */
 
 #if defined(__svr4__)
+    {
     struct ssd ssd;
     ssd.sel = TEB_SEL;
     ssd.bo = array.base_addr;
@@ -210,6 +211,7 @@
     if (sysi86(SI86DSCR, &ssd) < 0) {
 	perror("sysi86(SI86DSCR)");
 	printf("Couldn't install fs segment, expect segfault\n");
+    }
     }
 #endif
 




More information about the MPlayer-cvslog mailing list