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

 
 

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

Submitter:  James Youngman <jay>
Submitted:  Tue 26 Jun 2007 07:59:52 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  None Fixed Release:  4.3.9
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator

 

(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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code