diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2007-10-26 15:39:49 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2007-10-26 15:39:49 +0000 |
commit | 70cd9104ca2f1f7443cda004d9ab576d49503aca (patch) | |
tree | e8c5ba95394da3d681b902acb4be929a80d770f9 /lib-src/rcs2log | |
parent | b1ac90c50af8342f341b22d532aa3304c99147cf (diff) | |
download | emacs-70cd9104ca2f1f7443cda004d9ab576d49503aca.tar.gz |
Add a wrapper for getenv so it also checks the registry on Windows.
Suggestion and algorithm by Eli Zaretskii.
Code partially based on w32_get_resource and init_environment (w32.c).
(xmalloc): New function by Károly Lőrentey (backported from the trunk).
(quote_file_name): Use it.
(egetenv): New wrapper for getenv.
(get_current_dir_name, decode_options, get_server_config, set_local_socket,
set_socket, main): Use egetenv, not getenv.
(w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
Diffstat (limited to 'lib-src/rcs2log')
0 files changed, 0 insertions, 0 deletions