bugfindutils - Bugs: bug #19371, compiler errors on aix: undeclared...

 
 

bug #19371: compiler errors on aix: undeclared parse_open64,pred_open64

Submitter:  Michael Haubenwallner <haubi>
Submitted:  Wed 21 Mar 2007 03:11:25 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  4.3.2 Fixed Release:  4.3.5
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 29 Apr 2007 12:48:50 AM UTC, comment #1: 

I have applied this patch to the CVS source repository for findutils.   I have listed it in the ChangeLog as a "trivial" change.   This simply means that the change is small enough not to require a copyright assignment.  It does not mean that the change is of small worth.

Your change will be included in the next findutils-4.3.x release.

If you make further changes to findutils which you would like to share with the community (and please do!) please assign copyright in your changes to the Free Software Foundation, because your net contribution will then have reached a size where GNU Project policy requires this.

Thanks for your help.

James Youngman <jay>
Group administrator
Wed 21 Mar 2007 03:11:25 PM UTC, original submission:  

AIX (and maybe others) (here aix5.3) defines 'open' and 'close' to 'open64' and 'close64'.

Passing them to PARSE_PUNCTUATION() in find/parser.c results in undeclared symbols parse_open64, parse_close64, pred_open64, pred_close64.

It seems that this already was fixed somewhere in the past, because in find/defs.h, the declarations for parse_openparen() and parse_closeparen() already exist.

However, attached patch fixes this (again) for findutils-4.3.2, renaming that *open,*close to *openparen,*closeparen.

The exact errormessage is:
parser.c:202: error: 'parse_open64' undeclared here (not in a function)
parser.c:202: error: 'pred_open64' undeclared here (not in a function)

Michael Haubenwallner <haubi>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #12225:  findutils-4.3.2-aix.patch added by haubi (7KiB - text/x-patch)

 

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 haubi (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-05-05 jay Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3.5
    2007-04-29 jay StatusNone Fixed
        Assigned toNone jay
    2007-03-21 haubi Attached File- Added findutils-4.3.2-aix.patch, #12225

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code