octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43526] doc command to octave fails to find /u


From: anonymous
Subject: [Octave-bug-tracker] [bug #43526] doc command to octave fails to find /usr/share/info/octave.info.bz2
Date: Tue, 04 Nov 2014 14:18:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

URL:
  <http://savannah.gnu.org/bugs/?43526>

                 Summary: doc command to octave fails to find
/usr/share/info/octave.info.bz2
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 04 Nov 2014 14:18:41 UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ted Marston
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

scripts/help/doc.m does not look for a bzip2 compressed info file.
for example, giving the octave interpreter the command "doc" fails to find the
info file /usr/share/info/octave.info.bz2.

a simple fix is:

*** scripts/help/doc.m.Orig     Wed Aug  6 18:57:55 2014
--- scripts/help/doc.m  Tue Nov  4 13:31:21 2014
***************
*** 81,87 ****
          info_file_name = info_file ();
  
          if (! exist (info_file_name, "file")
!             && ! exist ([info_file_name ".gz"], "file"))
            __gripe_missing_component__ ("doc", "info-file");
          endif
        endif
--- 81,88 ----
          info_file_name = info_file ();
  
          if (! exist (info_file_name, "file")
!             && ! exist ([info_file_name ".gz"], "file")
!             && ! exist ([info_file_name ".bz2"], "file"))
            __gripe_missing_component__ ("doc", "info-file");
          endif
        endif






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43526>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]