diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-09 08:46:55 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-12-09 08:46:55 -0800 |
commit | 53f293d36dbb6a7f11b39644a46cfd329878f22c (patch) | |
tree | 6ed571f1a9d3cd78d90dd1be01ddd15552c757e4 | |
parent | a63903dafd2fb85a540089bf104f1a2fdbd83ab1 (diff) | |
download | efreet-53f293d36dbb6a7f11b39644a46cfd329878f22c.tar.gz efreet-53f293d36dbb6a7f11b39644a46cfd329878f22c.tar.bz2 efreet-53f293d36dbb6a7f11b39644a46cfd329878f22c.zip |
Imported Upstream version 1.7.3upstream/1.7.3
-rw-r--r-- | ChangeLog | 15 | ||||
-rw-r--r-- | NEWS | 11 | ||||
-rwxr-xr-x | configure | 24 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | efreet.spec | 2 | ||||
-rw-r--r-- | po/cs.gmo | bin | 453 -> 453 bytes | |||
-rw-r--r-- | po/cs.po | 4 | ||||
-rw-r--r-- | po/de.gmo | bin | 461 -> 461 bytes | |||
-rw-r--r-- | po/de.po | 4 | ||||
-rw-r--r-- | po/efreet.pot | 6 | ||||
-rw-r--r-- | po/el.gmo | bin | 482 -> 482 bytes | |||
-rw-r--r-- | po/el.po | 4 | ||||
-rw-r--r-- | po/es.gmo | bin | 457 -> 457 bytes | |||
-rw-r--r-- | po/es.po | 4 | ||||
-rw-r--r-- | po/fr.gmo | bin | 453 -> 453 bytes | |||
-rw-r--r-- | po/fr.po | 4 | ||||
-rw-r--r-- | po/it.gmo | bin | 456 -> 456 bytes | |||
-rw-r--r-- | po/it.po | 4 | ||||
-rw-r--r-- | po/ja.gmo | bin | 465 -> 465 bytes | |||
-rw-r--r-- | po/ja.po | 4 | ||||
-rw-r--r-- | po/ko.gmo | bin | 459 -> 459 bytes | |||
-rw-r--r-- | po/ko.po | 4 | ||||
-rw-r--r-- | po/nl.gmo | bin | 457 -> 457 bytes | |||
-rw-r--r-- | po/nl.po | 4 | ||||
-rw-r--r-- | po/pt.gmo | bin | 464 -> 464 bytes | |||
-rw-r--r-- | po/pt.po | 4 | ||||
-rw-r--r-- | po/ru.gmo | bin | 470 -> 470 bytes | |||
-rw-r--r-- | po/ru.po | 4 | ||||
-rw-r--r-- | po/sl.gmo | bin | 454 -> 454 bytes | |||
-rw-r--r-- | po/sl.po | 4 | ||||
-rw-r--r-- | src/bin/efreet_icon_cache_create.c | 3 | ||||
-rw-r--r-- | src/lib/Makefile.am | 2 | ||||
-rw-r--r-- | src/lib/Makefile.in | 2 | ||||
-rw-r--r-- | src/lib/efreet.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_alloca.h | 30 | ||||
-rw-r--r-- | src/lib/efreet_base.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_desktop.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_desktop_command.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_icon.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_ini.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_menu.c | 18 | ||||
-rw-r--r-- | src/lib/efreet_mime.c | 17 | ||||
-rw-r--r-- | src/lib/efreet_utils.c | 20 |
43 files changed, 109 insertions, 199 deletions
@@ -144,7 +144,20 @@ 1.7.1 release -2012-11-23 Luis Felipe Strano Moraes +2012-11-22 Sebastian Dransfeld + + * Accept unquoted values in user-dirs.dirs + +2012-11-23 Luis Felipe Strano Moraes 1.7.2 release +2012-11-24 Sebastian Dransfeld + + * Fix alloca + +2012-12-07 Luis Felipe Strano Moraes + + * 1.7.3 release + + @@ -1,9 +1,16 @@ -Efreet 1.7.2 +Efreet 1.7.3 + +Changes since Efreet 1.7.2: +--------------------------- + +Fixes: + - Fix alloca Changes since Efreet 1.7.1: --------------------------- -No changes, just updating to keep in sync with last release. +Fixes: + * Allow unquoted values in user-dirs.dirs Changes since Efreet 1.7.0: --------------------------- @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for efreet 1.7.2. +# Generated by GNU Autoconf 2.68 for efreet 1.7.3. # # Report bugs to <enlightenment-devel@lists.sourceforge.net>. # @@ -570,8 +570,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='efreet' PACKAGE_TARNAME='efreet' -PACKAGE_VERSION='1.7.2' -PACKAGE_STRING='efreet 1.7.2' +PACKAGE_VERSION='1.7.3' +PACKAGE_STRING='efreet 1.7.3' PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' PACKAGE_URL='' @@ -1370,7 +1370,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures efreet 1.7.2 to adapt to many kinds of systems. +\`configure' configures efreet 1.7.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1440,7 +1440,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of efreet 1.7.2:";; + short | recursive ) echo "Configuration of efreet 1.7.3:";; esac cat <<\_ACEOF @@ -1572,7 +1572,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -efreet configure 1.7.2 +efreet configure 1.7.3 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1995,7 +1995,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by efreet $as_me 1.7.2, which was +It was created by efreet $as_me 1.7.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2820,7 +2820,7 @@ fi # Define the identity of the package. PACKAGE='efreet' - VERSION='1.7.2' + VERSION='1.7.3' cat >>confdefs.h <<_ACEOF @@ -11791,7 +11791,7 @@ _ACEOF cat >>confdefs.h <<_ACEOF -#define VMIC 2 +#define VMIC 3 _ACEOF @@ -11799,7 +11799,7 @@ cat >>confdefs.h <<_ACEOF #define VREV 0 _ACEOF -version_info="8:2:7" +version_info="8:3:7" release_info="" @@ -17272,7 +17272,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by efreet $as_me 1.7.2, which was +This file was extended by efreet $as_me 1.7.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17338,7 +17338,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -efreet config.status 1.7.2 +efreet config.status 1.7.3 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index c05ebe3..3281734 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [1]) m4_define([v_min], [7]) -m4_define([v_mic], [2]) +m4_define([v_mic], [3]) m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) ##-- When released, remove the dnl on the below line diff --git a/efreet.spec b/efreet.spec index 001f021..3ec569f 100644 --- a/efreet.spec +++ b/efreet.spec @@ -4,7 +4,7 @@ Summary: FreeDesktop.Org Compatibility Library Name: efreet -Version: 1.7.2 +Version: 1.7.3 Release: %{_rel} License: BSD Group: System Environment/Libraries Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Plocha" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Arbeitsfläche" diff --git a/po/efreet.pot b/po/efreet.pot index 9259493..44c674e 100644 --- a/po/efreet.pot +++ b/po/efreet.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: efreet 1.7.2\n" +"Project-Id-Version: efreet 1.7.3\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,6 +17,6 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Επιφάνεια εργασίας" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Escritorio" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Bureau" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Scrivania" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "デスクトップ" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "바탕화면" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Bureaublad" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Área de Trabalho" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Рабочий стол" Binary files differ@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Efreet\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2012-11-22 15:32-0800\n" +"POT-Creation-Date: 2012-12-07 11:47-0200\n" "PO-Revision-Date: 2012-06-24 17:10+0900\n" "Last-Translator: Jerome Pinot <ngc891@gmail.com>\n" "Language-Team: Enlightenment Team\n" @@ -15,6 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/efreet_base.c:128 +#: src/lib/efreet_base.c:112 msgid "Desktop" msgstr "Namizje" diff --git a/src/bin/efreet_icon_cache_create.c b/src/bin/efreet_icon_cache_create.c index e8d100c..e2ec227 100644 --- a/src/bin/efreet_icon_cache_create.c +++ b/src/bin/efreet_icon_cache_create.c @@ -1,6 +1,9 @@ #ifdef HAVE_CONFIG_H # include <config.h> #endif + +#include "efreet_alloca.h" + #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 824c8de..f1cc10b 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -66,4 +66,4 @@ libefreet_trash_la_CPPFLAGS = \ 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 diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in index c3c4cfd..aae2785 100644 --- a/src/lib/Makefile.in +++ b/src/lib/Makefile.in @@ -372,7 +372,7 @@ libefreet_trash_la_CPPFLAGS = \ 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 all: all-am .SUFFIXES: diff --git a/src/lib/efreet.c b/src/lib/efreet.c index c48223f..8d3bf57 100644 --- a/src/lib/efreet.c +++ b/src/lib/efreet.c @@ -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> diff --git a/src/lib/efreet_alloca.h b/src/lib/efreet_alloca.h new file mode 100644 index 0000000..58a7398 --- /dev/null +++ b/src/lib/efreet_alloca.h @@ -0,0 +1,30 @@ +#ifndef EFREET_ALLOCA_H +#define EFREET_ALLOCA_H + +#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 + +#endif diff --git a/src/lib/efreet_base.c b/src/lib/efreet_base.c index 6ee0119..cf1bb9b 100644 --- a/src/lib/efreet_base.c +++ b/src/lib/efreet_base.c @@ -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> diff --git a/src/lib/efreet_desktop.c b/src/lib/efreet_desktop.c index 9293f94..7faf43c 100644 --- a/src/lib/efreet_desktop.c +++ b/src/lib/efreet_desktop.c @@ -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> diff --git a/src/lib/efreet_desktop_command.c b/src/lib/efreet_desktop_command.c index bf97f8f..f7f4d13 100644 --- a/src/lib/efreet_desktop_command.c +++ b/src/lib/efreet_desktop_command.c @@ -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> diff --git a/src/lib/efreet_icon.c b/src/lib/efreet_icon.c index 526e0ec..86a669a 100644 --- a/src/lib/efreet_icon.c +++ b/src/lib/efreet_icon.c @@ -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> diff --git a/src/lib/efreet_ini.c b/src/lib/efreet_ini.c index 375fda1..fbe4dd7 100644 --- a/src/lib/efreet_ini.c +++ b/src/lib/efreet_ini.c @@ -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> #include <sys/stat.h> diff --git a/src/lib/efreet_menu.c b/src/lib/efreet_menu.c index e612ba1..3ab6c5c 100644 --- a/src/lib/efreet_menu.c +++ b/src/lib/efreet_menu.c @@ -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> diff --git a/src/lib/efreet_mime.c b/src/lib/efreet_mime.c index 9343d90..51be95f 100644 --- a/src/lib/efreet_mime.c +++ b/src/lib/efreet_mime.c @@ -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> diff --git a/src/lib/efreet_utils.c b/src/lib/efreet_utils.c index dab85ef..a2bee37 100644 --- a/src/lib/efreet_utils.c +++ b/src/lib/efreet_utils.c @@ -2,25 +2,9 @@ # include <config.h> #endif -/* TODO: add no_display check, as we might want only displayable items */ +#include "efreet_alloca.h" -#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 +/* TODO: add no_display check, as we might want only displayable items */ #include <fnmatch.h> |