diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2017-01-13 17:13:48 +0100 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2017-09-27 23:21:54 +0200 |
commit | 57b9294277f2f92e1478ff0d478e483d0a584347 (patch) | |
tree | 5a66240e6b854d798012aa340229a41abe201fad /tests/utils.scm | |
parent | d72716ce16e8326f14ff7ae9ca41af5315e94ae4 (diff) | |
download | mcron-57b9294277f2f92e1478ff0d478e483d0a584347.tar.gz mcron-57b9294277f2f92e1478ff0d478e483d0a584347.tar.bz2 mcron-57b9294277f2f92e1478ff0d478e483d0a584347.zip |
wrapper: Avoid 'scm_c_eval_string' usage.
* src/wrapper.c (wrap_env_path): New function.
(main): Use it.
(inner_main): Let 'wrap_env_path' set the environment variables.
Don't use 'scm_c_eval_string' when calling 'main' procedure.
* Makefile.am (AM_CPPFLAGS): Define _GNU_SOURCE for 'asprintf'.
Diffstat (limited to 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions