style fix: fix indentation (double)
This commit is contained in:
parent
5cf965ffbf
commit
6d410168b8
22
util/mode.c
22
util/mode.c
|
@ -85,33 +85,33 @@ next:
|
||||||
/* copy */
|
/* copy */
|
||||||
case 'u':
|
case 'u':
|
||||||
if(mode & S_IRUSR)
|
if(mode & S_IRUSR)
|
||||||
perm |= S_IRUSR|S_IRGRP|S_IROTH;
|
perm |= S_IRUSR|S_IRGRP|S_IROTH;
|
||||||
if(mode & S_IWUSR)
|
if(mode & S_IWUSR)
|
||||||
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
|
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
|
||||||
if(mode & S_IXUSR)
|
if(mode & S_IXUSR)
|
||||||
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
|
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
|
||||||
if(mode & S_ISUID)
|
if(mode & S_ISUID)
|
||||||
perm |= S_ISUID|S_ISGID;
|
perm |= S_ISUID|S_ISGID;
|
||||||
p++;
|
p++;
|
||||||
break;
|
break;
|
||||||
case 'g':
|
case 'g':
|
||||||
if(mode & S_IRGRP)
|
if(mode & S_IRGRP)
|
||||||
perm |= S_IRUSR|S_IRGRP|S_IROTH;
|
perm |= S_IRUSR|S_IRGRP|S_IROTH;
|
||||||
if(mode & S_IWGRP)
|
if(mode & S_IWGRP)
|
||||||
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
|
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
|
||||||
if(mode & S_IXGRP)
|
if(mode & S_IXGRP)
|
||||||
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
|
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
|
||||||
if(mode & S_ISGID)
|
if(mode & S_ISGID)
|
||||||
perm |= S_ISUID|S_ISGID;
|
perm |= S_ISUID|S_ISGID;
|
||||||
p++;
|
p++;
|
||||||
break;
|
break;
|
||||||
case 'o':
|
case 'o':
|
||||||
if(mode & S_IROTH)
|
if(mode & S_IROTH)
|
||||||
perm |= S_IRUSR|S_IRGRP|S_IROTH;
|
perm |= S_IRUSR|S_IRGRP|S_IROTH;
|
||||||
if(mode & S_IWOTH)
|
if(mode & S_IWOTH)
|
||||||
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
|
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
|
||||||
if(mode & S_IXOTH)
|
if(mode & S_IXOTH)
|
||||||
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
|
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
|
||||||
p++;
|
p++;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user