path: root/src/lib/evil/evil_string.c
diff options
authorVincent Torri <vincent dot torri at gmail dot com>2015-12-08 13:53:23 +0900
committerJean-Philippe Andre <>2015-12-08 13:56:49 +0900
commit7782e2388cded094f6969f0f200da8468c66485d (patch)
tree81e8efe1226644442e2bd5ba1e46935d0f6f0796 /src/lib/evil/evil_string.c
parent3e31eda3bd80c615d44387476495c6ece4fa3756 (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:
Diffstat (limited to 'src/lib/evil/evil_string.c')
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/evil/evil_string.c b/src/lib/evil/evil_string.c
index 12411be..634565b 100644
--- a/src/lib/evil/evil_string.c
+++ b/src/lib/evil/evil_string.c
@@ -2,8 +2,12 @@
2# include "config.h" 2# include "config.h"
3#endif /* HAVE_CONFIG_H */ 3#endif /* HAVE_CONFIG_H */
4 4
5#include "Evil.h" 5#include <stdlib.h>
6#include "evil_private.h" 6#include <string.h>
7#include <ctype.h>
9#include "evil_macro.h"
10#include "evil_string.h"
7 11
8 12
9/* 13/*