Oops, will fix. S.
Den 24. nov. 2012 kl. 07:54 skrev Vincent Torri <vincent.to...@gmail.com>: > isn't efreet_alloca.h a new file ? I don't see it added in the commit > > Vincent > > On Sat, Nov 24, 2012 at 7:43 AM, Enlightenment SVN > <no-re...@enlightenment.org> wrote: >> Log: >> efreet: fix alloca >> >> Author: englebass >> Date: 2012-11-23 22:43:00 -0800 (Fri, 23 Nov 2012) >> New Revision: 79629 >> Trac: http://trac.enlightenment.org/e/changeset/79629 >> >> Modified: >> trunk/efreet/ChangeLog trunk/efreet/src/bin/efreet_icon_cache_create.c >> trunk/efreet/src/lib/Makefile.am trunk/efreet/src/lib/efreet.c >> trunk/efreet/src/lib/efreet_base.c trunk/efreet/src/lib/efreet_desktop.c >> trunk/efreet/src/lib/efreet_desktop_command.c >> trunk/efreet/src/lib/efreet_icon.c trunk/efreet/src/lib/efreet_ini.c >> trunk/efreet/src/lib/efreet_menu.c trunk/efreet/src/lib/efreet_mime.c >> trunk/efreet/src/lib/efreet_utils.c >> >> Modified: trunk/efreet/ChangeLog >> =================================================================== >> --- trunk/efreet/ChangeLog 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/ChangeLog 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -162,3 +162,7 @@ >> 2012-11-22 Sebastian Dransfeld >> >> * Accept unquoted values in user-dirs.dirs >> + >> +2012-11-24 Sebastian Dransfeld >> + >> + * Fix alloca >> >> Modified: trunk/efreet/src/bin/efreet_icon_cache_create.c >> =================================================================== >> --- trunk/efreet/src/bin/efreet_icon_cache_create.c 2012-11-24 06:37:55 >> UTC (rev 79628) >> +++ trunk/efreet/src/bin/efreet_icon_cache_create.c 2012-11-24 06:43:00 >> UTC (rev 79629) >> @@ -2,31 +2,7 @@ >> # include <config.h> >> #endif >> >> -#ifdef STDC_HEADERS >> -# include <stdlib.h> >> -# include <stddef.h> >> -#else >> -# ifdef HAVE_STDLIB_H >> -# include <stdlib.h> >> -# endif >> -#endif >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif !defined alloca >> -# ifdef __GNUC__ >> -# define alloca __builtin_alloca >> -# elif defined _AIX >> -# define alloca __alloca >> -# elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -# elif !defined HAVE_ALLOCA >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -# endif >> -#endif >> +#include "efreet_alloca.h" >> >> #include <sys/stat.h> >> #include <fcntl.h> >> >> Modified: trunk/efreet/src/lib/Makefile.am >> =================================================================== >> --- trunk/efreet/src/lib/Makefile.am 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/Makefile.am 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -66,4 +66,4 @@ >> libefreet_trash_la_LIBADD = @EFREET_LIBS@ libefreet.la >> libefreet_trash_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ >> -version-info @version_info@ @release_info@ >> >> -EXTRA_DIST = efreet_private.h efreet_xml.h efreet_cache_private.h >> +EXTRA_DIST = efreet_private.h efreet_xml.h efreet_cache_private.h >> efreet_alloca.h >> >> Modified: trunk/efreet/src/lib/efreet.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <unistd.h> >> #include <sys/stat.h> >> >> Modified: trunk/efreet/src/lib/efreet_base.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_base.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_base.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <unistd.h> >> #include <ctype.h> >> >> Modified: trunk/efreet/src/lib/efreet_desktop.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_desktop.c 2012-11-24 06:37:55 UTC (rev >> 79628) >> +++ trunk/efreet/src/lib/efreet_desktop.c 2012-11-24 06:43:00 UTC (rev >> 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #ifdef HAVE_EVIL >> # include <Evil.h> >> >> Modified: trunk/efreet/src/lib/efreet_desktop_command.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_desktop_command.c 2012-11-24 06:37:55 >> UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_desktop_command.c 2012-11-24 06:43:00 >> UTC (rev 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <unistd.h> >> #include <ctype.h> >> >> Modified: trunk/efreet/src/lib/efreet_icon.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_icon.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_icon.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <Ecore.h> >> #include <Ecore_File.h> >> >> Modified: trunk/efreet/src/lib/efreet_ini.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_ini.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_ini.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <ctype.h> >> >> >> Modified: trunk/efreet/src/lib/efreet_menu.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_menu.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_menu.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,23 +2,7 @@ >> # include <config.h> >> #endif >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <Ecore_File.h> >> >> >> Modified: trunk/efreet/src/lib/efreet_mime.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_mime.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_mime.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,22 +2,7 @@ >> # include <config.h> >> #endif >> >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> +#include "efreet_alloca.h" >> >> #include <ctype.h> >> #include <sys/stat.h> >> >> Modified: trunk/efreet/src/lib/efreet_utils.c >> =================================================================== >> --- trunk/efreet/src/lib/efreet_utils.c 2012-11-24 06:37:55 UTC (rev 79628) >> +++ trunk/efreet/src/lib/efreet_utils.c 2012-11-24 06:43:00 UTC (rev 79629) >> @@ -2,26 +2,10 @@ >> # include <config.h> >> #endif >> >> +#include "efreet_alloca.h" >> + >> /* TODO: add no_display check, as we might want only displayable items */ >> >> -#undef alloca >> -#ifdef HAVE_ALLOCA_H >> -# include <alloca.h> >> -#elif defined __GNUC__ >> -# define alloca __builtin_alloca >> -#elif defined _AIX >> -# define alloca __alloca >> -#elif defined _MSC_VER >> -# include <malloc.h> >> -# define alloca _alloca >> -#else >> -# include <stddef.h> >> -# ifdef __cplusplus >> -extern "C" >> -# endif >> -void *alloca (size_t); >> -#endif >> - >> #include <fnmatch.h> >> >> #include <Ecore_File.h> >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> enlightenment-svn mailing list >> enlightenment-...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel