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

Commit2f86f14

Browse files
committed
Fix BSD/OS thread file locking bug in new fseeko code.
Backpatch to 7.3.X.
1 parentd6dbb6b commit2f86f14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/fseeko.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.7 2002/10/28 00:00:25 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.8 2003/01/02 06:00:33 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -55,7 +55,7 @@ fseeko(FILE *stream, off_t offset, int whence)
5555
if (fsetpos(stream,&floc)!=0)
5656
gotofailure;
5757
#ifdefbsdi
58-
flockfile(stream);
58+
funlockfile(stream);
5959
#endif
6060
return0;
6161
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp