From: Vadim B. Mikheev Date: Thu, 23 Nov 2000 01:08:57 +0000 (+0000) Subject: Set fdstate in fileNameOpenFile. X-Git-Tag: REL7_1_BETA~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5479c11bfa3be21afca44ef59e2e14204bc0a142;p=postgresql Set fdstate in fileNameOpenFile. --- diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 76d2fcfd22..3143217ab0 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.66 2000/11/10 03:53:44 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.67 2000/11/23 01:08:57 vadim Exp $ * * NOTES: * @@ -672,9 +672,9 @@ fileNameOpenFile(FileName fileName, */ if (fileFlags & O_CREAT) vfdP->fdstate = FD_DIRTY; -#else - vfdP->fdstate = 0x0; + else #endif + vfdP->fdstate = 0x0; return file; }