Problem while viewing rotated log files
Roland Illig
roland.illig at gmx.de
Thu Jun 30 23:05:21 UTC 2005
Pavel Tsekov wrote:
> Hello,
>
> On Thu, 23 Jun 2005, Leonard den Ottolander wrote:
>
>
>>The problem with all this is that the file command does not reliably
>>test the file type inside b/gzipped files so we have to do some
>>trickery.
>>
>>Does the attached patch fix the issue (adds a test for the location
>>/var/log)?
>
>
> Isn't it better to use the `mandir' variable to determine the possible
> location of manpages instead of hardcoding `/var/log' ? configure would
> then replace `mandir' with the correct value and MC will assume that
> files under that directory are manpages ? Or use `localstatedir' to
> determine the location of the /var folder ?
I don't think so. `mandir' is the directory where mc's man pages are
installed. You cannot assume anything else about it. Especially you
cannot assume any other program has its man pages there. Same goes for
the other directories.
Roland
More information about the mc
mailing list