[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please help me with xwpe problem.
> i couldn't get the Function Help to work well.
> I get a list of functions, where some of functuions looks like -
> function (x) , those are working well,
> but some of functions looks like - function.2(bz2) and for those i get
> "No MAN page availbe for function.2. , how could i solve the problem?
Here is a patch that will fix the problem. To apply it change to the
source directory of xwpe and run 'patch <path_to_file/xwpe-bzman.patch'.
Dennis Payne
dulsi@identicalsoftware.com
--- we_fl_unix.c.orig Fri Mar 30 20:35:49 2001
+++ we_fl_unix.c Fri Mar 30 20:42:44 2001
@@ -3561,6 +3561,11 @@
k -= 3;
*(df->name[j] + k + 1) = '\0';
}
+ if ((k > 3) && (strcmp(df->name[j] + k - 3, ".bz2") == 0))
+ {
+ k -= 4;
+ *(df->name[j] + k + 1) = '\0';
+ }
else if ((k > 1) && (strcmp(df->name[j] + k - 1, ".Z") == 0))
{
k -= 2;