bugGuile - Bugs: bug #30167, libguile/Makefile.am ugly

 
 

bug #30167: libguile/Makefile.am ugly

Submitted by:  Thien-Thi Nguyen <ttn>
Submitted on:  Thu 17 Jun 2010 12:42:17 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: Thien-Thi Nguyen <ttn>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 17 Jun 2010 01:16:52 PM UTC, comment #1:

Actually, both those files are indeed checked, so this is really a non-bug! (Nice mini-rant there, however...)

Changing the title.

Thien-Thi Nguyen <ttn>
Project MemberIn charge of this item.
Thu 17 Jun 2010 12:42:17 PM UTC, original submission:

In libguile/Makefile.am, the awk script guile-func-name-check is not being applied to pairs.c and memoize.c because those files are not derivable from the *DOT_DOC_FILES variables. This incomplete coverage ensures ignorance of (possible, future) func-name bugs there, which is undesirable.

Running the check manually on those files produces spurious warnings (false positives), which is probably one reason why they were omitted in the first place.

There are some related infelicities surrounding this situation:

1/ The awk script is run in the .c.doc pattern rule. Is that really necessary? It's a static check -- why not move it some dedicated target, like "make function-name-check", that can be called less frequently (by maintainers)? See 3/ below.

2/ The long lists of mostly-redundant filenames is bug-prone. Better to restructure the groupings additively and make use of Automake support for $(VAR:OLD=NEW) syntax.

3/ It's awk. That is an affront to my scheming sensibilities.
The doc extraction/processing flow tail already uses Scheme, why not the nose, as well?!

Thien-Thi Nguyen <ttn>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

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 civodul (Updated the item)
  • -unavailable- added by ttn (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 26 Apr 2011 01:21:53 PM UTCcivodulStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Thu 17 Jun 2010 01:16:52 PM UTCttnSummaryfunc-name (#define FUNC_NAME) check not applied fully=>libguile/Makefile.am ugly

    Back to the top


    Powered by Savane 3.1-cleanup1