bugfindutils - Bugs: bug #20210, need to use gnulib strcasestr


bug #20210: need to use gnulib strcasestr

Submitted by:  Eric Blake <ericb>
Submitted on:  Tue 19 Jun 2007 01:12:43 PM UTC  
Category:  locate Severity:  5 - Blocker
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  Eric Blake <ericb>
Originator Name:  Eric Blake Open/Closed:  Closed
Release:  4.2.31 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 19 Jun 2007 10:29:18 PM UTC, comment #2: 

Applied.  Thanks!

You could also have applied the patch yourself, of course...

James Youngman <jay>
Project Administrator
Tue 19 Jun 2007 03:45:08 PM UTC, comment #1: 

Originally broken in 4.3.7 and 4.2.31, with revision 1.77 of locate/locate.c on May 26.

Attaching a patch against 4.3.x; it should be trivial to backport a similar needed patch to 4.2.x:

2007-06-19  Eric Blake  <ebb9@byu.net>

        Fix compilation on cygwin, Savannah bug #20210.
        * import-gnulib.config (gnulib_version): Import strcasestr and
        updated canonicalize-lgpl-tests.
        * lib/dircallback.c (includes): Track gnulib changes.

(file #13111)

Eric Blake <ericb>
Project AdministratorIn charge of this item.
Tue 19 Jun 2007 01:12:43 PM UTC, original submission:  

findutils 4.3.8 fails to compile locate on cygwin 1.5.24, since it uses strcasestr without also using the gnulib module.  It compiles on CVS cygwin, however, since strcasestr will be added as part of cygwin 1.7.0.

See also

Eric Blake <ericb>
Project AdministratorIn charge of this item.


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

Attach Files:

Attached Files
file #13111:  findutils.patch3 added by ericb (1KiB - application/octet-stream - patch to use latest gnulib)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by ericb (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-11 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3.9
    2007-06-19 jay StatusIn Progress => Fixed
    2007-06-19 ericb Attached File- => Added findutils.patch3, #13111
        StatusConfirmed => In Progress
        Assigned toNone => ericb
        Release4.3.8 => 4.2.31

    Back to the top

    Powered by Savane 3.5