summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-19 16:44:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-19 16:44:08 +0000
commita6eb4609c215fb04b9b5a40bd065826c7b6f1954 (patch)
treeab654037f6d6fe9b4c3a802fc66a939af6b9577e /file.c
parent75ee37707e1c8cc8431b102b80098a1d7679f8dd (diff)
* file.c (rb_thread_flock): should have resolved conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/file.c b/file.c
index d4a993be2a..f4eeb2974c 100644
--- a/file.c
+++ b/file.c
@@ -2886,20 +2886,11 @@ static int
rb_thread_flock(int fd, int op, OpenFile *fptr)
{
if (rb_thread_alone() || (op & LOCK_NB)) {
-<<<<<<< file.c
- int n;
-
- TRAP_BEG;
- n = flock(fd, op);
- TRAP_END;
- return n;
-=======
int ret;
TRAP_BEG;
ret = flock(fd, op);
TRAP_END;
return ret;
->>>>>>> 1.208
}
op |= LOCK_NB;
while (flock(fd, op) < 0) {