httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Reder" <rede...@raleigh.ibm.com>
Subject [Patch]: Fix mod_rewrite to properly use the new finfo struct.
Date Fri, 07 Jan 2000 15:44:17 GMT
This is a patch to get mod_rewrite compiling again under 2.0 
with Ryan's latest finfo changes. It compiles and comes up. I
am testing this and other modules more extensively right now.


-- 
Paul J. Reder
------------------------------------------------------------
"Remember, Information is not knowledge; Knowledge is not Wisdom;
Wisdom is not truth; Truth is not beauty; Beauty is not love;
Love is not music; Music is the best." -- Frank Zappa



Index: mod_rewrite.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_rewrite.c,v
retrieving revision 1.8
diff -r1.8 mod_rewrite.c
3765,3766c3765,3766
<         if (r->finfo.st_mode != 0) {
<             if ((pw = getpwuid(r->finfo.st_uid)) != NULL) {
---
>         if (r->finfo.protection != 0) {
>             if ((pw = getpwuid(r->finfo.user)) != NULL) {
3780,3781c3780,3781
<         if (r->finfo.st_mode != 0) {
<             if ((gr = getgrgid(r->finfo.st_gid)) != NULL) {
---
>         if (r->finfo.protection != 0) {
>             if ((gr = getgrgid(r->finfo.group)) != NULL) {

Mime
View raw message