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:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Open/Closed:  Closed
Release:  None Fixed 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-11 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3.9
    2007-07-01 jay StatusNone => Fixed
        Assigned toNone => jay

    Back to the top


    Powered by Savane 3.5