]>
Commit | Line | Data |
---|---|---|
e0bf6b5f JB |
1 | --- rpm-4.4.8/lib/rpmfc.c.orig 2007-02-14 07:31:50.000000000 +0100 |
2 | +++ rpm-4.4.8/lib/rpmfc.c 2007-04-08 16:48:00.273560592 +0200 | |
3 | @@ -773,7 +773,7 @@ | |
4 | } else | |
5 | if (fc->fcolor->vals[fc->ix] & RPMFC_PHP) { | |
6 | xx = rpmfcHelper(fc, 'P', "php"); | |
7 | - if (is_executable) | |
8 | + /* not only executable, files run by httpd usually are not */ | |
9 | xx = rpmfcHelper(fc, 'R', "php"); | |
ff5da8bf | 10 | } |
ff5da8bf | 11 | |
e0bf6b5f JB |
12 | @@ -1056,7 +1056,7 @@ |
13 | else if (_suffix(s, ".pc")) | |
986c2b93 JB |
14 | ftype = "pkgconfig file"; |
15 | ||
e0bf6b5f JB |
16 | - /* XXX all files with extension ".php" are pkgconfig for now. */ |
17 | + /* XXX all files with extension ".php" are php scripts now. */ | |
18 | else if (_suffix(s, ".php")) | |
19 | ftype = "PHP script text"; | |
ff5da8bf | 20 |