bc31ab75ff
- clean up DOCS install Approved: ehaupt (mentor)
19 lines
428 B
C
19 lines
428 B
C
--- xmain.c.orig Wed Feb 14 04:37:46 2007
|
|
+++ xmain.c Thu Feb 22 20:00:30 2007
|
|
@@ -39,6 +39,7 @@
|
|
float total;
|
|
}PIXINFO;
|
|
|
|
+int saved_euid=-1;
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
@@ -58,6 +59,8 @@
|
|
XTextProperty window_title_property;
|
|
unsigned short int *ipalette;
|
|
XColor xco;
|
|
+saved_euid=geteuid();
|
|
+setuid(getuid()); /* XXX drop perms! */
|
|
for(i=0; i<MAX_LIRSEM; i++)lirsem_flag[i]=0;
|
|
XInitThreads();
|
|
if(DUMPFILE)
|