efl: Fix build of Ecore_Evas_Extn.

Patch by Robert David <robert.david.public@gmail.com>


SVN revision: 80206
This commit is contained in:
Cedric BAIL 2012-12-05 02:52:03 +00:00
parent 19463c7e24
commit f03023b28b
4 changed files with 9 additions and 2 deletions

View File

@ -183,6 +183,7 @@ Yakov Goldberg <yakov.g@samsung.com>
Eduardo Lima (Etrunko) <eblima@gmail.com> Eduardo Lima (Etrunko) <eblima@gmail.com>
Alexey Yakovenko <wakeroid@gmail.com> Alexey Yakovenko <wakeroid@gmail.com>
Myoungwoon Roy Kim(roy_kim) <myoungwoon.kim@samsung.com> <myoungwoon@gmail.com> Myoungwoon Roy Kim(roy_kim) <myoungwoon.kim@samsung.com> <myoungwoon@gmail.com>
Robert David <robert.david.public@gmail.com>
Embryo Embryo
------ ------

View File

@ -108,3 +108,8 @@
2012-11-20 ChunEon Park (Hermet) 2012-11-20 ChunEon Park (Hermet)
* Fix the evas memory leak - eina_rectangles allocated internally. * Fix the evas memory leak - eina_rectangles allocated internally.
2012-12-05 Cedric Bail
* Fix build of Ecore_Evas_Extn on Solaris 11.

1
NEWS
View File

@ -29,3 +29,4 @@ Fixes:
to properly handle GL_SCISSOR_BOX and GL_VIEWPORT parameters. to properly handle GL_SCISSOR_BOX and GL_VIEWPORT parameters.
* Fixed textblock textprop leak. * Fixed textblock textprop leak.
* Fixed evas_object_box to reset size_hint_min to zero when no child. * Fixed evas_object_box to reset size_hint_min to zero when no child.
* Fix build of Ecore_Evas_Extn on Solaris.

View File

@ -442,7 +442,7 @@ _ecore_evas_socket_lock(Ecore_Evas *ee)
if (extn->file.have_lock) return; if (extn->file.have_lock) return;
extn->file.have_lock = EINA_TRUE; extn->file.have_lock = EINA_TRUE;
if (_ecore_evas_lock_other_have(ee)) return; if (_ecore_evas_lock_other_have(ee)) return;
flock(extn->file.lockfd, LOCK_EX); lockf(extn->file.lockfd, F_ULOCK, 0);
extn->file.have_real_lock = EINA_TRUE; extn->file.have_real_lock = EINA_TRUE;
} }
@ -457,7 +457,7 @@ _ecore_evas_socket_unlock(Ecore_Evas *ee)
if (!extn->file.have_lock) return; if (!extn->file.have_lock) return;
extn->file.have_lock = EINA_FALSE; extn->file.have_lock = EINA_FALSE;
if (!extn->file.have_real_lock) return; if (!extn->file.have_real_lock) return;
flock(extn->file.lockfd, LOCK_UN); lockf(extn->file.lockfd, F_ULOCK, 0);
} }
static void static void