[Mplayer-cvslog] CVS: main/Gui/mplayer widgets.c,1.13,1.14

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Dec 12 22:47:47 CET 2001


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv27823/Gui/mplayer

Modified Files:
	widgets.c 
Log Message:
gtk suid bug fix(?)

Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- widgets.c	18 Nov 2001 19:22:54 -0000	1.13
+++ widgets.c	12 Dec 2001 21:47:44 -0000	1.14
@@ -68,6 +68,10 @@
 {
  struct sigaction sa;
 
+ #ifdef HAVE_RTC
+  setuid( getuid() ); // strongly test, please check this.
+ #endif
+
  gtk_set_locale();
  gtk_init( &argc,&argv );
  gdk_set_use_xshm( TRUE );




More information about the MPlayer-cvslog mailing list