]> granicus.if.org Git - postgresql/commitdiff
Set fdstate in fileNameOpenFile.
authorVadim B. Mikheev <vadim4o@yahoo.com>
Thu, 23 Nov 2000 01:08:57 +0000 (01:08 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Thu, 23 Nov 2000 01:08:57 +0000 (01:08 +0000)
src/backend/storage/file/fd.c

index 76d2fcfd22356793b22a60bbbdafcdaf07d300d8..3143217ab0da3b63be2e6c9f7efd8aae5c79eefc 100644 (file)
@@ -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;
 }