Re: pg_backup_tar.c seems anerror by win32 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: pg_backup_tar.c seems anerror by win32
Date
Msg-id 200606270256.k5R2uqU09329@momjian.us
Whole thread Raw
In response to pg_backup_tar.c seems anerror by win32  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List pgsql-patches
Hiroshi Saito wrote:
> Hi Bruce-san.
>
> Yesterday patch was inadequate....
>
> pg_backup_tar.c: In function `tarOpen':
> pg_backup_tar.c:379: `S_IREAD' undeclared (first use in this function)
> pg_backup_tar.c:379: (Each undeclared identifier is reported only once
> pg_backup_tar.c:379: for each function it appears in.)
> pg_backup_tar.c:379: `S_IWRITE' undeclared (first use in this function)
> pg_backup_tar.c: In function `_tarAddFile':
> pg_backup_tar.c:1051: warning: comparison is always false due to limited range of data type
> make[3]: *** [pg_backup_tar.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> This patch helps this.
> Thanks.

Thanks.  Patch applied to HEAD and 8.1.X.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PQescapeIdentifier
Next
From: Bruce Momjian
Date:
Subject: Re: Patch for BUG #2073: Can't drop sequence when created