Mercurial > mplayer.hg
diff mplayer.c @ 3474:47983b6a042d
gtk suid bug fix(?)
author | pontscho |
---|---|
date | Wed, 12 Dec 2001 21:47:44 +0000 |
parents | cdd3f5ac06b2 |
children | 93351eec9f1f |
line wrap: on
line diff
--- a/mplayer.c Wed Dec 12 18:48:07 2001 +0000 +++ b/mplayer.c Wed Dec 12 21:47:44 2001 +0000 @@ -634,6 +634,7 @@ } else printf("Using Linux's hardware RTC timing (%ldHz)\n", irqp); } + setuid( getuid() ); // strongly test, please check this. if(rtc_fd<0) #endif printf("Using %s timing\n",softsleep?"software":"usleep()");