bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #19371] compiler errors on aix: undeclared parse_open64, pred_open6


From: Michael Haubenwallner
Subject: [bug #19371] compiler errors on aix: undeclared parse_open64, pred_open64
Date: Wed, 21 Mar 2007 15:11:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061030 Firefox/1.5.0.7

URL:
  <http://savannah.gnu.org/bugs/?19371>

                 Summary: compiler errors on aix: undeclared
parse_open64,pred_open64
                 Project: findutils
            Submitted by: haubi
            Submitted on: Wednesday 03/21/2007 at 15:11
                Category: find
                Severity: 3 - Normal
              Item Group: Compilation Failure
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.3.2
           Fixed Release: None

    _______________________________________________________

Details:

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)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 03/21/2007 at 15:11  Name: findutils-4.3.2-aix.patch  Size:
7kB   By: haubi

<http://savannah.gnu.org/bugs/download.php?file_id=12225>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19371>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]