uid and gid were unsigned, but were compared vs signed values (-1)
authorEric Andersen <andersen@codepoet.org>
Fri, 14 Jul 2000 06:27:54 +0000 (06:27 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 14 Jul 2000 06:27:54 +0000 (06:27 -0000)
 -Erik

chmod_chown_chgrp.c

index cf6a508950a3bb13ed9cc312163a9f73d4925ec0..156a0a9f9a634d9fcc79d15c705179af402fbe3f 100644 (file)
@@ -33,8 +33,8 @@
 #include <pwd.h>
 
 
-static unsigned long uid = -1;
-static unsigned long gid = -1;
+static long uid = -1;
+static long gid = -1;
 static int whichApp;
 static char *theMode = NULL;