summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-09-22 01:31:29 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-09-22 01:31:29 +0000
commit1530e33b6714a9aebfa9f0c77120c7a8f7756c44 (patch)
tree567d3208fb9e939c03ba1cd50a16350cbd172c7b
parentaf4f86adda29189b44d77ab127ba3a196dacca4b (diff)
downloadpostgresql-1530e33b6714a9aebfa9f0c77120c7a8f7756c44.tar.gz
*** 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>
-rw-r--r--src/backend/storage/file/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 9adb9985c9..dd9556c6f8 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.4 1996/07/22 22:59:50 scrappy Exp $
+ * $Id: fd.c,v 1.4.2.1 1996/09/22 01:31:29 scrappy Exp $
*
* NOTES:
*
@@ -262,7 +262,7 @@ LruDelete(File file)
Delete(file);
/* save the seek position */
- fileP->seekPos = lseek(fileP->fd, 0L, SEEK_CUR);
+ fileP->seekPos = (long) lseek(fileP->fd, 0L, SEEK_CUR);
Assert( fileP->seekPos != -1);
/* if we have written to the file, sync it */