summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-12-05 02:52:03 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-12-05 02:52:03 +0000
commitf03023b28b891c3d7a9449802f489ed3de6050cc (patch)
tree9b7b9bf4da427c4a684fa4cf49956f43b1a387bc /src/lib/ecore_evas
parent19463c7e2401acccea0072b2807a8c6311a887a1 (diff)
efl: Fix build of Ecore_Evas_Extn.
Patch by Robert David <robert.david.public@gmail.com> SVN revision: 80206
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_extn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_extn.c b/src/lib/ecore_evas/ecore_evas_extn.c
index 2e1dac5cf8..61840723c7 100644
--- a/src/lib/ecore_evas/ecore_evas_extn.c
+++ b/src/lib/ecore_evas/ecore_evas_extn.c
@@ -442,7 +442,7 @@ _ecore_evas_socket_lock(Ecore_Evas *ee)
442 if (extn->file.have_lock) return; 442 if (extn->file.have_lock) return;
443 extn->file.have_lock = EINA_TRUE; 443 extn->file.have_lock = EINA_TRUE;
444 if (_ecore_evas_lock_other_have(ee)) return; 444 if (_ecore_evas_lock_other_have(ee)) return;
445 flock(extn->file.lockfd, LOCK_EX); 445 lockf(extn->file.lockfd, F_ULOCK, 0);
446 extn->file.have_real_lock = EINA_TRUE; 446 extn->file.have_real_lock = EINA_TRUE;
447} 447}
448 448
@@ -457,7 +457,7 @@ _ecore_evas_socket_unlock(Ecore_Evas *ee)
457 if (!extn->file.have_lock) return; 457 if (!extn->file.have_lock) return;
458 extn->file.have_lock = EINA_FALSE; 458 extn->file.have_lock = EINA_FALSE;
459 if (!extn->file.have_real_lock) return; 459 if (!extn->file.have_real_lock) return;
460 flock(extn->file.lockfd, LOCK_UN); 460 lockf(extn->file.lockfd, F_ULOCK, 0);
461} 461}
462 462
463static void 463static void