Index: src/port/fseeko.c =================================================================== RCS file: /cvsroot/pgsql-server/src/port/fseeko.c,v retrieving revision 1.13 diff -c -c -r1.13 fseeko.c *** src/port/fseeko.c 29 Nov 2003 19:52:13 -0000 1.13 --- src/port/fseeko.c 23 Mar 2004 05:24:52 -0000 *************** *** 68,73 **** --- 68,74 ---- #ifdef bsdi flockfile(stream); #endif + fflush(stream); /* force writes to fd for stat() */ if (fstat(fileno(stream), &filestat) != 0) goto failure; floc = filestat.st_size;