Re: src/tools/fsync/test_fsync.c does not compile - Mailing list pgsql-bugs

From Tom Lane
Subject Re: src/tools/fsync/test_fsync.c does not compile
Date
Msg-id 13892.1286059447@sss.pgh.pa.us
Whole thread Raw
In response to src/tools/fsync/test_fsync.c does not compile  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
List pgsql-bugs
Mark Kirkwood <mark.kirkwood@catalyst.net.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5689: UPDATE locks index before table resulting in deadlock
Next
From: Tom Lane
Date:
Subject: Re: BUG #5687: RADIUS Authentication issues