On Fri, Jan 11, 2013 at 5:25 AM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
> efl: Remove check for siginfo.h and siginfo_t

This one look really suspicious to me. Are you sure it still build on
windows ? That's a general comment for your serie of patch. Did you
try building efl for windows ?

> Author:       lucas
> Date:         2013-01-10 12:25:35 -0800 (Thu, 10 Jan 2013)
> New Revision: 82579
> Trac:         http://trac.enlightenment.org/e/changeset/82579
>
> Modified:
>   trunk/efl/configure.ac trunk/efl/src/lib/eina/eina_mmap.c
>
> Modified: trunk/efl/configure.ac
> ===================================================================
> --- trunk/efl/configure.ac      2013-01-10 20:25:31 UTC (rev 82578)
> +++ trunk/efl/configure.ac      2013-01-10 20:25:35 UTC (rev 82579)
> @@ -384,7 +384,6 @@
>  libgen.h \
>  mcheck.h \
>  netinet/in.h \
> -siginfo.h \
>  stdint.h \
>  sys/epoll.h \
>  sys/inotify.h \
> @@ -417,15 +416,6 @@
>  AC_CHECK_SIZEOF(int, 4)
>  AC_CHECK_SIZEOF(long, 4)
>
> -AC_CHECK_TYPES([siginfo_t], [], [],
> -   [[
> -#include <signal.h>
> -#if HAVE_SIGINFO_H
> -# include <siginfo.h>
> -#endif
> -   ]])
> -
> -
>  #### Checks for structures
>
>
>
> Modified: trunk/efl/src/lib/eina/eina_mmap.c
> ===================================================================
> --- trunk/efl/src/lib/eina/eina_mmap.c  2013-01-10 20:25:31 UTC (rev 82578)
> +++ trunk/efl/src/lib/eina/eina_mmap.c  2013-01-10 20:25:35 UTC (rev 82579)
> @@ -20,8 +20,6 @@
>  # include "config.h"
>  #endif
>
> -#ifdef HAVE_SIGINFO_T
> -
>  #ifdef STDC_HEADERS
>  # include <stdlib.h>
>  # include <stddef.h>
> @@ -43,12 +41,6 @@
>  #include <fcntl.h>
>  #include <unistd.h>
>
> -#if HAVE_SIGINFO_H
> -# include <siginfo.h>
> -#endif
> -
> -#endif
> -
>  #include "eina_config.h"
>  #include "eina_private.h"
>  #include "eina_log.h"
> @@ -59,7 +51,6 @@
>   
> *============================================================================*/
>
>  static Eina_Bool mmap_safe = EINA_FALSE;
> -#ifdef HAVE_SIGINFO_T
>
>  static int _eina_mmap_log_dom = -1;
>  static int _eina_mmap_zero_fd = -1;
> @@ -115,7 +106,6 @@
>     /* restore previous errno */
>     errno = perrno;
>  }
> -#endif
>
>  
> /*============================================================================*
>   *                                   API                                     
>  *
> @@ -124,10 +114,6 @@
>  EAPI Eina_Bool
>  eina_mmap_safety_enabled_set(Eina_Bool enabled)
>  {
> -#ifndef HAVE_SIGINFO_T
> -   (void) enabled;
> -   return EINA_FALSE;
> -#else
>     if (_eina_mmap_log_dom < 0)
>       {
>          _eina_mmap_log_dom = eina_log_domain_register("eina_mmap",
> @@ -169,7 +155,7 @@
>               flags |= FD_CLOEXEC;
>               fcntl(_eina_mmap_zero_fd, F_SETFD, flags);
>  #endif
> -
> +
>            }
>          /* set up signal handler for SIGBUS */
>          sa.sa_sigaction = _eina_mmap_safe_sigbus;
> @@ -194,7 +180,6 @@
>  done:
>     mmap_safe = enabled;
>     return mmap_safe;
> -#endif
>  }
>
>  EAPI Eina_Bool
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>



--
Cedric BAIL

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to