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

2010-10-02 Thread Tom Lane
Mark Kirkwood 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 d

[BUGS] src/tools/fsync/test_fsync.c does not compile

2010-09-30 Thread Mark Kirkwood
The discussion on -performance about disk caching reminded me that the useful fsync test utility does not seem to compile (git master on Ubuntu 10.04): $ make gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -I../.