diff options
author | Vincent Torri <vincent dot torri at gmail dot com> | 2015-12-08 13:53:23 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-12-08 13:56:49 +0900 |
commit | 7782e2388cded094f6969f0f200da8468c66485d (patch) | |
tree | 81e8efe1226644442e2bd5ba1e46935d0f6f0796 /src/bin/evil | |
parent | 3e31eda3bd80c615d44387476495c6ece4fa3756 (diff) |
Evil: fix infinite recursive loop in previous addition of setlocale() in Evil
Summary:
setlocale() called itself because it was defined as a #define
so remove this #define from evil_locale.h and move it in another header file
To avoid future problem, move similar defines to this header file
Also clean all the header file mess in Evil
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3409
Diffstat (limited to 'src/bin/evil')
-rw-r--r-- | src/bin/evil/evil_test_link.c | 1 | ||||
-rw-r--r-- | src/bin/evil/evil_test_mkstemp.c | 1 | ||||
-rw-r--r-- | src/bin/evil/evil_test_realpath.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/evil/evil_test_link.c b/src/bin/evil/evil_test_link.c index 868e9f23d2..0aa4966551 100644 --- a/src/bin/evil/evil_test_link.c +++ b/src/bin/evil/evil_test_link.c | |||
@@ -2,6 +2,7 @@ | |||
2 | # include "config.h" | 2 | # include "config.h" |
3 | #endif /* HAVE_CONFIG_H */ | 3 | #endif /* HAVE_CONFIG_H */ |
4 | 4 | ||
5 | #include <stdio.h> | ||
5 | #include <string.h> | 6 | #include <string.h> |
6 | 7 | ||
7 | #include <Evil.h> | 8 | #include <Evil.h> |
diff --git a/src/bin/evil/evil_test_mkstemp.c b/src/bin/evil/evil_test_mkstemp.c index 427dc01289..54d9df5d17 100644 --- a/src/bin/evil/evil_test_mkstemp.c +++ b/src/bin/evil/evil_test_mkstemp.c | |||
@@ -2,6 +2,7 @@ | |||
2 | # include "config.h" | 2 | # include "config.h" |
3 | #endif /* HAVE_CONFIG_H */ | 3 | #endif /* HAVE_CONFIG_H */ |
4 | 4 | ||
5 | #include <stdio.h> | ||
5 | #include <string.h> | 6 | #include <string.h> |
6 | 7 | ||
7 | #include <Evil.h> | 8 | #include <Evil.h> |
diff --git a/src/bin/evil/evil_test_realpath.c b/src/bin/evil/evil_test_realpath.c index afd92f184c..fbc4d1d570 100644 --- a/src/bin/evil/evil_test_realpath.c +++ b/src/bin/evil/evil_test_realpath.c | |||
@@ -2,6 +2,7 @@ | |||
2 | # include "config.h" | 2 | # include "config.h" |
3 | #endif /* HAVE_CONFIG_H */ | 3 | #endif /* HAVE_CONFIG_H */ |
4 | 4 | ||
5 | #include <stdio.h> | ||
5 | #include <string.h> | 6 | #include <string.h> |
6 | 7 | ||
7 | #include <Evil.h> | 8 | #include <Evil.h> |