bugtexinfo - GNU documentation system - Bugs: bug #33243, Patch to makeinfo error display

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33243: Patch to makeinfo error display

Submitted by:  Adriaan van Os <microbizz>
Submitted on:  Fri 06 May 2011 10:39:25 AM UTC  
 
Category: makeinfoRelease: 4.13
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: bugPrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: Wont Fix

Sat 07 May 2011 07:25:57 AM UTC, comment #2:

Plain arrogance

Adriaan van Os <microbizz>
Fri 06 May 2011 10:12:14 PM UTC, comment #1:

Thanks for the suggestion, but I'm not going to uglify messages for the sake of unspecified "IDE"s (which should be smart enough to recognize error messages, anyway). The GNU coding standards say nothing about requiring the word "error:".

Best,
Karl

Karl Berry <karl>
Project Administrator
Fri 06 May 2011 10:39:25 AM UTC, original submission:

Some IDE's don't recognize makeinfo error display. This is fixed by adding "error: " to error display, as follows:

--- makeinfo/makeinfo-orig.c 2008-09-18 20:32:00.000000000 +0200
+++ makeinfo/makeinfo.c 2011-05-06 12:12:59.000000000 +0200
@@ -246,7 +246,7 @@
#endif

remember_error ();
- fprintf (stderr, "%s:%d: ", infile, lno);
+ fprintf (stderr, ""%s:%d: error: " ", infile, lno);

VA_START (ap, format);
#ifdef VA_FPRINTF
@@ -275,7 +275,7 @@
#endif

remember_error ();
- fprintf (stderr, "%s:%d: ", input_filename, line_number);
+ fprintf (stderr, "%s:%d: error: ", input_filename, line_number);

VA_START (ap, format);
#ifdef VA_FPRINTF

Adriaan van Os <microbizz>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by microbizz (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 May 2011 10:12:14 PM UTCkarlOpen/ClosedOpen=>Closed
      StatusNone=>Wont Fix

    Back to the top


    Powered by Savane 3.1-cleanup1