Re: src/tools/fsync/test_fsync.c does not compile

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: src/tools/fsync/test_fsync.c does not compile
Date: 2010-10-02 22:44:07
Message-ID: 13892.1286059447@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz> writes:
> In function open,
> inlined from main at test_fsync.c:66:
> /usr/include/bits/fcntl2.h:45: error: call to __open_too_many_args
> declared with attribute error: open can be called either with 2 or 3
> arguments, not more

Interesting --- it's certainly wrong, but I don't see that complaint
here (on Fedora 13).

> The tiny change (attached) seems it fix it for me.

Agreed, this is a bug fix. Applied.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-10-02 22:52:41 Re: BUG #5687: RADIUS Authentication issues
Previous Message stagirus 2010-10-02 21:03:28 Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)