Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group