Re: Build problem and patch with Sun cc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Build problem and patch with Sun cc
Date
Msg-id 6200.985475511@sss.pgh.pa.us
Whole thread Raw
In response to Build problem and patch with Sun cc  (Steve Nicolai <snicolai@mac.com>)
List pgsql-hackers
Steve Nicolai <snicolai@mac.com> writes:
> diff -u -r1.5 pg_backup_null.c
> --- src/bin/pg_dump/pg_backup_null.c    2001/03/22 04:00:13     1.5
> +++ src/bin/pg_dump/pg_backup_null.c    2001/03/24 22:00:07
> @@ -98,7 +98,7 @@
>  static void
>  _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
>  {
> -       if (*te->dataDumper)
> +       if (te->dataDumper)
>         {
>                 AH->currToc = te;
>            (*te->dataDumper) ((Archive *) AH, te->oid, te->dataDumperArg);

> Sun's cc complains that *te->dataDumper is not a scalar type.

Applied.  Thanks!
        regards, tom lane


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Onject Database Survey ... Help needed ...
Next
From: Peter Eisentraut
Date:
Subject: Re: odbc/UnixWare 7.1.1: No Go.