Index: src/port/open.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/port/open.c,v retrieving revision 1.14 diff -c -r1.14 open.c *** src/port/open.c 30 Aug 2006 18:06:27 -0000 1.14 --- src/port/open.c 24 Sep 2006 14:27:58 -0000 *************** *** 126,132 **** else if (strchr(mode, 'w')) openmode |= O_WRONLY | O_CREAT | O_TRUNC; if (strchr(mode, 'a')) ! openmode |= O_WRONLY | O_APPEND; if (strchr(mode, 'b')) openmode |= O_BINARY; --- 126,132 ---- else if (strchr(mode, 'w')) openmode |= O_WRONLY | O_CREAT | O_TRUNC; if (strchr(mode, 'a')) ! openmode |= O_WRONLY | O_CREAT | O_APPEND; if (strchr(mode, 'b')) openmode |= O_BINARY;