Re: Adjustment of test_fsync.cf

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Adjustment of test_fsync.cf
Date: 2007-11-05 17:12:57
Message-ID: 200711051712.lA5HCvK25063@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Yes, open should take three arguments. Thanks.

---------------------------------------------------------------------------

Hiroshi Saito wrote:
> Hi Bruce-san.
>
> It is somewhat out of order at MinGW (gcc).
> (CVS-HEAD)
>
> make[1]: Leaving directory `/home/hiroshi/postgresql-8.3b1-2007-10-18/src/port'
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-afterstatement -Wendif-labels
> -fno-strict-aliasing -I../../../src/interfaces/libpq -../../../src/include -I./src/include/port/win32
> -DEXEC_BACKEND "-I../../../srcinclude/port/win32" -c -o test_fsync.o test_fsync.c
> test_fsync.c:75:39: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c: In function `main':
> test_fsync.c:75: warning: assignment makes integer from pointer without a cast
> test_fsync.c:93:39: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:93: warning: assignment makes integer from pointer without a cast
> test_fsync.c:100:39: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:100: warning: assignment makes integer from pointer without a cast
> test_fsync.c:114:39: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:114: warning: assignment makes integer from pointer without a cast
> test_fsync.c:120:39: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:120: warning: assignment makes integer from pointer without a cast
> test_fsync.c:172:48: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:172: warning: assignment makes integer from pointer without a cast
> test_fsync.c:222:38: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:222: warning: assignment makes integer from pointer without a cast
> test_fsync.c:242:48: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:242: warning: assignment makes integer from pointer without a cast
> test_fsync.c:303:38: macro "open" requires 3 arguments, but only 2 given
> test_fsync.c:303: warning: assignment makes integer from pointer without a cast
> make: *** [test_fsync.o] Error 1
> /END
>
> Please take this into consideration.
> Thanks.
>
> Regards,
> Hiroshi Saito

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-11-05 17:17:56 Re: Better psql tab-completion support for schemas and tables
Previous Message Tom Lane 2007-11-05 17:08:48 Re: pg_ctl configurable timeout