pg_backup_tar.c seems anerror by win32

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: pg_backup_tar.c seems anerror by win32
Date: 2006-06-27 02:23:33
Message-ID: 02d801c69990$b06fb8d0$4443010a@wiseknot.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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.

Regards,
Hiroshi Saito

Attachment Content-Type Size
pg_backup_tar.c_patch application/octet-stream 546 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2006-06-27 02:42:00 Re: [HACKERS] PQescapeIdentifier
Previous Message Tom Lane 2006-06-27 01:39:57 Re: [HACKERS] PQescapeIdentifier