bugfindutils - Bugs: bug #37423, Duplicate definition of...

 
 

bug #37423: Duplicate definition of program_name in test-canonicalize

Submitter:  None
Submitted:  Sat 22 Sep 2012 12:17:23 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.4.2
Fixed Release:  4.5.11
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 26 Oct 2013 02:02:23 PM UTC, comment #3: 

I think this problem was likely solved by this commit:

commit bf5f83afdf9f26b6b44b942e0be122b7a66e3561
Author: Dmitry V. Levin <ldv@altlinux.org>
Date:   Sun Nov 18 06:06:04 2012 +0400

    find: use FTS_VERBATIM (and update gnulib)
   

James Youngman <jay>
Group administrator
Sat 17 Nov 2012 01:53:08 PM UTC, comment #2: 

I'm going to defer updating the gnulib in findnutils temporarily until we've decided on how to handle the recently-changed fts semantics (with respect to trailing slashes).

James Youngman <jay>
Group administrator
Mon 24 Sep 2012 04:24:44 PM UTC, comment #1: 

Thanks for the report.  This is an upstream bug in gnulib, and will be resolved by having findutils update to a newer version of gnulib.

Eric Blake <ericb>
Group administrator
Sat 22 Sep 2012 12:17:23 PM UTC, original submission:  

Hi,

While compiling your package using our research compiler infrastructure we notice the following conflicting initialisations:

- gnulib/lib/progname.c:const char *program_name = NULL;
- tests/test-canonicalize.c:const char *program_name = "test-canonicalize";

The actual value of program_name is thus undefined as the linker is free to choose either. According to the comments in progname.c, the proper code for test-canonicalize.c would be to

1. declare proggram_name extern
2. set its value in main()

Best,
Michael

Anonymous

 

(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 (Posted a comment)
  • -email is unavailable- added by ericb (Posted a comment)
  • -email is unavailable- added by None (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
    2013-10-26 jay StatusNone Fixed
        Assigned toNone jay
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.11

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code