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

 
 

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

Submitted by:  Michael Haubenwallner <haubi>
Submitted on:  Wed 21 Mar 2007 03:11:25 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Compilation FailureStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.3.2Fixed Release: 4.3.5

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by jay (Posted a comment)
  • -unavailable- added by haubi (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 May 2007 01:24:38 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.3.5
    Sun 29 Apr 2007 12:48:49 AM UTCjayStatusNone=>Fixed
      Assigned toNone=>jay
    Wed 21 Mar 2007 03:11:25 PM UTChaubiAttached File-=>Added findutils-4.3.2-aix.patch, #12225

    Back to the top


    Powered by Savane 3.1-cleanup1