felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e9ee9cc3a0c414ec2a14a0817e89c4a46c8f93f0

commit e9ee9cc3a0c414ec2a14a0817e89c4a46c8f93f0
Author: Felipe Magno de Almeida <[email protected]>
Date:   Tue Oct 27 11:04:52 2020 -0300

    evil: undef setlocale to avoid recursion
    
    Summary:
    evil_setlocale implementation must not call itself, so it must #undef
    setlocale to avoid replacing with evil_setlocale.
    
    Reviewers: vtorri, jptiz, lucas
    
    Reviewed By: vtorri, jptiz
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D12184
---
 src/lib/evil/evil_locale.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/evil/evil_locale.c b/src/lib/evil/evil_locale.c
index 15610da6a6..c932b27a69 100644
--- a/src/lib/evil/evil_locale.c
+++ b/src/lib/evil/evil_locale.c
@@ -35,6 +35,8 @@
  */
 static char _evil_locale_buf[18];
 
+#undef setlocale
+
 char *evil_setlocale(int category, const char *locale)
 {
    char buf[9];

-- 


Reply via email to