8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f375d5d commit 1d09690Copy full SHA for 1d09690
src/port/open.c
@@ -6,7 +6,7 @@
6
*
7
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8
9
- * $PostgreSQL: pgsql/src/port/open.c,v 1.14 2006/08/30 18:06:27 tgl Exp $
+ * $PostgreSQL: pgsql/src/port/open.c,v 1.15 2006/09/24 17:19:53 tgl Exp $
10
11
*-------------------------------------------------------------------------
12
*/
@@ -126,7 +126,7 @@ pgwin32_fopen(const char *fileName, const char *mode)
126
else if (strchr(mode, 'w'))
127
openmode |= O_WRONLY | O_CREAT | O_TRUNC;
128
if (strchr(mode, 'a'))
129
- openmode |= O_WRONLY | O_APPEND;
+ openmode |= O_WRONLY | O_CREAT | O_APPEND;
130
131
if (strchr(mode, 'b'))
132
openmode |= O_BINARY;
0 commit comments