]> granicus.if.org Git - postgresql/commit
*** src/backend/storage/file/fd.c.orig Thu Sep 12 17:17:21 1996
authorMarc G. Fournier <scrappy@hub.org>
Sun, 22 Sep 1996 01:30:52 +0000 (01:30 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 22 Sep 1996 01:30:52 +0000 (01:30 +0000)
commite7c3adcd94d19758dad3d9bc41fe160ba1da2d96
tree18a774be0efb893cea116fccbf2dfebfd647c4a1
parent5774d080a741074fb104ce6857e18342504bffae
*** src/backend/storage/file/fd.c.orig  Thu Sep 12 17:17:21 1996
--- src/backend/storage/file/fd.c       Thu Sep 12 17:23:38 1996
***************
*** 262,268 ****
      Delete(file);

      /* save the seek position */
!     fileP->seekPos = lseek(fileP->fd, 0L, SEEK_CUR);
      Assert( fileP->seekPos != -1);

      /* if we have written to the file, sync it */
--- 262,268 ----
      Delete(file);

      /* save the seek position */
!     fileP->seekPos = (long) lseek(fileP->fd, 0L, SEEK_CUR);
      Assert( fileP->seekPos != -1);

      /* if we have written to the file, sync it */

Submitted by: Randy Terbush <randy@zyzzyva.com>
src/backend/storage/file/fd.c