* cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in sys/cygwin.h

instead.
* getfacl.c: Add include to remove warning.
* mkgroup.c (main): Assign variables outside of parameter passing.  This seems
to eliminate some compiler warnings.
This commit is contained in:
Christopher Faylor
2002-01-29 03:08:42 +00:00
parent 4239e5ecf4
commit 012858ecdc
4 changed files with 18 additions and 8 deletions

View File

@@ -528,11 +528,14 @@ main (int argc, char **argv)
/*
* Get `None' group
*/
GetComputerName (name, (len = 256, &len));
len = 256;
GetComputerName (name, &len);
csid = (PSID) malloc (1024);
len = 1024;
len2 = 256;
LookupAccountName (NULL, name,
csid, (len = 1024, &len),
dom, (len2 = 256, &len),
csid, &len,
dom, &len,
&use);
print_special (print_sids, GetSidIdentifierAuthority (csid), 5,
*GetSidSubAuthority (csid, 0),