summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore.am
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-02-12 20:11:44 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-02-12 20:22:28 +0000
commitd6294fa22b88187e44391c1c8ca64b1ebdf14533 (patch)
tree793733796eda67fdbea1fde4c83023bf3fe7f579 /src/Makefile_Ecore.am
parenta57c7f751023fe1d1edeabbf8683574ac7497e5e (diff)
Revert the env object because it's broken portability - please redo
setenv and unsetenv are not portable. i explained to you at fosdem there are issues and it's why i used putenv in the original implementation and even though it's a pain (the string tou pass to putenv is a pointer used literallt from there on in and you get it from getenv, thus making ownership a pain -this is a libc issue we can't readily solve). use putenv like the original code. then put it back in. vtorri now has windows porting issues with the setenv use. i knew there was a reason that still existed... in addition your in_sync stuff is broken. psuedocode: // assuming BLAGH env is not set to anything here c = efl_core_env_get(global_env, "BLAH"); ... putenv("BLAH=10"); ... c = efl_core_env_Get(global_env, "BLAH"); i will get NULL in both cases for c ... but i should get "10" for the 2nd in reality. reality is lots of code across application code and libraries will at times mess with the environment. it has to work with this. the prior implementation did work with this. Revert "ecore: here comes a env object" This reverts commit 2373d5db5b4cd5dfe139aa2a10017ef61b28b5ce. Revert "efl_task: remove env from this object" This reverts commit c3d69f66a69c0def357a5c373a13343e1c01ff5d.
Diffstat (limited to 'src/Makefile_Ecore.am')
-rw-r--r--src/Makefile_Ecore.am7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am
index 5f10ea7..7bc8e43 100644
--- a/src/Makefile_Ecore.am
+++ b/src/Makefile_Ecore.am
@@ -49,9 +49,7 @@ ecore_eolian_files_public = \
49 lib/ecore/efl_boolean_model.eo \ 49 lib/ecore/efl_boolean_model.eo \
50 lib/ecore/efl_select_model.eo \ 50 lib/ecore/efl_select_model.eo \
51 lib/ecore/efl_composite_model.eo \ 51 lib/ecore/efl_composite_model.eo \
52 lib/ecore/efl_view_model.eo \ 52 lib/ecore/efl_view_model.eo
53 lib/ecore/efl_core_env.eo \
54 lib/ecore/efl_core_proc_env.eo \
55 53
56ecore_eolian_files = \ 54ecore_eolian_files = \
57 $(ecore_eolian_files_legacy) \ 55 $(ecore_eolian_files_legacy) \
@@ -100,8 +98,6 @@ lib/ecore/ecore_job.c \
100lib/ecore/ecore_main.c \ 98lib/ecore/ecore_main.c \
101lib/ecore/ecore_event_message.c \ 99lib/ecore/ecore_event_message.c \
102lib/ecore/ecore_event_message_handler.c \ 100lib/ecore/ecore_event_message_handler.c \
103lib/ecore/efl_core_env.c \
104lib/ecore/efl_core_proc_env.c \
105lib/ecore/efl_app.c \ 101lib/ecore/efl_app.c \
106lib/ecore/efl_loop.c \ 102lib/ecore/efl_loop.c \
107lib/ecore/efl_loop_consumer.c \ 103lib/ecore/efl_loop_consumer.c \
@@ -339,7 +335,6 @@ tests/ecore/efl_app_test_loop.c \
339tests/ecore/efl_app_test_loop_fd.c \ 335tests/ecore/efl_app_test_loop_fd.c \
340tests/ecore/efl_app_test_loop_timer.c \ 336tests/ecore/efl_app_test_loop_timer.c \
341tests/ecore/efl_app_test_promise.c \ 337tests/ecore/efl_app_test_promise.c \
342tests/ecore/efl_app_test_env.c \
343tests/ecore/efl_app_suite.c \ 338tests/ecore/efl_app_suite.c \
344tests/ecore/efl_app_suite.h 339tests/ecore/efl_app_suite.h
345 340