diff options
author | N.N. <matju@users.sourceforge.net> | 2009-04-26 17:52:54 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-04-26 17:52:54 +0000 |
commit | baf6c0f4c5f2c339fecdf8b1dfae39c93ca3f55a (patch) | |
tree | 2c53fbe9444e026d063b247ed95770ef669586f4 | |
parent | 35470c130a007fa196b3c19867fd047abcc350f0 (diff) |
no setuid/getuid on win32 ?
svn path=/trunk/; revision=11156
-rw-r--r-- | desiredata/src/s_inter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desiredata/src/s_inter.c b/desiredata/src/s_inter.c index bfa32bf1..f0e41524 100644 --- a/desiredata/src/s_inter.c +++ b/desiredata/src/s_inter.c @@ -578,7 +578,9 @@ int sys_startgui() { if (sys_hipriority == -1) sys_hipriority = !getuid() || !geteuid(); #endif if (sys_hipriority) sys_setpriority(); +#ifndef MSW setuid(getuid()); +#endif /* MSW */ return 0; } |