projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
573fe25
)
Fix BSD/OS thread file locking bug in new fseeko code.
author
Bruce Momjian
<
[email protected]
>
Thu, 2 Jan 2003 06:01:02 +0000
(06:01 +0000)
committer
Bruce Momjian
<
[email protected]
>
Thu, 2 Jan 2003 06:01:02 +0000
(06:01 +0000)
Backpatch to 7.3.X.
src/port/fseeko.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/fseeko.c
b/src/port/fseeko.c
index 14984ad7b7a86ffa9783b1c331b525eebbdce19b..5096977a4b97c5e13ccf584c9f187211b315dc4f 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.7
.2.1 2003/01/02 06:01:02
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);
+ f
un
lockfile(stream);
#endif
return 0;
break;