Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1530e33

Browse files
committed
*** 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>
1 parentaf4f86a commit1530e33

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/file

1 file changed

+2
-2
lines changed

‎src/backend/storage/file/fd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Id: fd.c,v 1.4 1996/07/2222:59:50 scrappy Exp $
9+
* $Id: fd.c,v 1.4.2.1 1996/09/2201:31:29 scrappy Exp $
1010
*
1111
* NOTES:
1212
*
@@ -262,7 +262,7 @@ LruDelete(File file)
262262
Delete(file);
263263

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp