uid and gid were unsigned, but were compared vs signed values (-1)
-Erik
This commit is contained in:
parent
e7413a9cde
commit
58361a44b5
@ -33,8 +33,8 @@
|
|||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
|
|
||||||
static unsigned long uid = -1;
|
static long uid = -1;
|
||||||
static unsigned long gid = -1;
|
static long gid = -1;
|
||||||
static int whichApp;
|
static int whichApp;
|
||||||
static char *theMode = NULL;
|
static char *theMode = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user