git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d6dbb6b)
Fix BSD/OS thread file locking bug in new fseeko code.
Thu, 2 Jan 2003 06:00:33 +0000 (06:00 +0000)
Thu, 2 Jan 2003 06:00:33 +0000 (06:00 +0000)
Backpatch to 7.3.X.


diff --git a/src/port/fseeko.c b/src/port/fseeko.c
index 14984ad7b7a86ffa9783b1c331b525eebbdce19b..d86123e858a8eda908351bdf97ad93030104071f 100644 (file)
--- a/src/port/fseeko.c
+++ b/src/port/fseeko.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.7 2002年10月28日 00:00:25 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.8 2003年01月02日 06:00:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -55,7 +55,7 @@ fseeko(FILE *stream, off_t offset, int whence)
if (fsetpos(stream, &floc) != 0)
goto failure;
#ifdef bsdi
- flockfile(stream);
+ funlockfile(stream);
#endif
return 0;
break;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /