]>
Commit | Line | Data |
---|---|---|
70f8787d JR |
1 | --- rpm-5.4.5/lib/rpmfc.c.sizeof~ 2012-03-05 21:01:46.845529682 +0100 |
2 | +++ rpm-5.4.5/lib/rpmfc.c 2012-03-05 21:01:51.679533439 +0100 | |
3 | @@ -909,7 +909,7 @@ static int rpmfcSCRIPT(rpmfc fc) | |
4 | if (defaultdocdir == NULL || *defaultdocdir == '\0') | |
5 | defaultdocdir = "/usr/share/doc"; | |
6 | ||
7 | - if (strncmp(fn, defaultdocdir, sizeof(defaultdocdir)-1)) { | |
8 | + if (strncmp(fn, defaultdocdir, strlen(defaultdocdir))) { | |
9 | if (fc->fcolor->vals[fc->ix] & RPMFC_MODULE) | |
10 | xx = rpmfcHelper(fc, 'P', "perl"); | |
11 | if (is_executable || (fc->fcolor->vals[fc->ix] & RPMFC_MODULE)) |