• Marc G. Fournier's avatar
    *** src/backend/storage/file/fd.c.orig Thu Sep 12 17:17:21 1996 · e7c3adcd
    Marc G. Fournier authored
    --- 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>
    e7c3adcd
fd.c 20 KB