patchGNU Octave - Patches: patch #9303, __makeinfo__ keeps temp file when...

 
 

patch #9303: __makeinfo__ keeps temp file when makeinfo printed to stderr

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Mon 27 Mar 2017 07:14:07 PM UTC  
 
Category: Core : new featurePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 27 Mar 2017 07:14:07 PM UTC, original submission:

Hi all,

It has been always quite difficult to track back errors on the texinfo block, therefore I have created this patch to prevent
_makeinfo_.m to delete the file if makeinfo printed to stderr (e.g. where 'misplaced }' is printed)

This allows us to go and look into the temp fiel to find the culprit of the problem. A better solution wouldbe to print the function name, but _makeinfo_ doesn't know that directly, and parsing the texinfo text itself seemed like too much work for a simple thing.

Hope you find it useful.

Juan Pablo Carbajal <juanpi>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #40172:  makeinfo_keep_tmp_file.cset added by juanpi (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by juanpi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 27 Mar 2017 07:14:07 PM UTCjuanpiAttached File-=>Added makeinfo_keep_tmp_file.cset, #40172

    Back to the top


    Powered by Savane 3.1-cleanup1