bugfindutils - Bugs: bug #20262, findutils uses assert to verify...

 
 

bug #20262: findutils uses assert to verify conditions checkable at compile time

Submitted by:  James Youngman <jay>
Submitted on:  Tue 26 Jun 2007 07:59:52 AM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: NoneFixed Release: 4.3.9

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 26 Jun 2007 07:59:52 AM UTC, original submission:

Eric writes:

> > @@ -679,7 +679,7 @@ main (int argc, char **argv)
> > /* Without SIZE_MAX (i.e. limits.h) this is probably
> > * close to the best we can do.
> > */
> > - assert(sizeof(size_t) <= sizeof(unsigned long));
> > + assert (sizeof(size_t) <= sizeof(unsigned long));
> > #endif
>
> This would be a candidate for the gnulib verify module,
> so you can make this assertion at compile-time instead of
> runtime.

James Youngman <jay>
Project AdministratorIn 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 jay (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Nov 2007 07:44:21 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.3.9
    Sun 01 Jul 2007 09:59:51 AM UTCjayStatusNone=>Fixed
      Assigned toNone=>jay

    Back to the top


    Powered by Savane 3.1-cleanup1