Re: Problem while viewing rotated log files
- From: Roland Illig <roland illig gmx de>
- To: Pavel Tsekov <ptsekov gmx net>
- Cc: MC <mc gnome org>
- Subject: Re: Problem while viewing rotated log files
- Date: Fri, 01 Jul 2005 01:05:21 +0200
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
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]