]> git.pld-linux.org Git - packages/apache-mod_ruid2.git/blob - apache-mod_ruid2-stat-rgroups.patch
- up to 0.9.8
[packages/apache-mod_ruid2.git] / apache-mod_ruid2-stat-rgroups.patch
1 --- mod_ruid2-0.9.4/mod_ruid2.c~        2011-02-24 15:25:28.000000000 +0100
2 +++ mod_ruid2-0.9.4/mod_ruid2.c 2011-03-11 14:15:26.915053808 +0100
3 @@ -123,6 +123,10 @@
4                 conf->ruid_uid=UNSET;
5                 conf->ruid_gid=UNSET;
6                 conf->groupsnr=UNSET;
7 +               if (child->groupsnr > 0) {
8 +                       memcpy(conf->groups, child->groups, sizeof(child->groups));
9 +                       conf->groupsnr = child->groupsnr;
10 +               }
11         } else {
12                 conf->ruid_uid = (child->ruid_uid == UNSET) ? parent->ruid_uid : child->ruid_uid;
13                 conf->ruid_gid = (child->ruid_gid == UNSET) ? parent->ruid_gid : child->ruid_gid;
This page took 0.055113 seconds and 3 git commands to generate.