Mercurial > emacs
annotate FTP @ 79232:7970215aa6e5
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 Kroly Lrentey (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.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 26 Oct 2007 15:39:06 +0000 |
parents | 5e1b6a63ac46 |
children |
rev | line source |
---|---|
77212
5e1b6a63ac46
Replace with a pointer to the web version.
Glenn Morris <rgm@gnu.org>
parents:
69701
diff
changeset
|
1 For information about how to obtain GNU Emacs and other GNU software |
5e1b6a63ac46
Replace with a pointer to the web version.
Glenn Morris <rgm@gnu.org>
parents:
69701
diff
changeset
|
2 by FTP, please see <http://www.gnu.org/order/ftp.html>. |
33648 | 3 |
77212
5e1b6a63ac46
Replace with a pointer to the web version.
Glenn Morris <rgm@gnu.org>
parents:
69701
diff
changeset
|
4 Information about Emacs is also available at |
5e1b6a63ac46
Replace with a pointer to the web version.
Glenn Morris <rgm@gnu.org>
parents:
69701
diff
changeset
|
5 <http://www.gnu.org/software/emacs/>. |
33648 | 6 |