[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/lib-src emacsclient.c [EMACS_22_BASE]
From: |
Juanma Barranquero |
Subject: |
[Emacs-commit] emacs/lib-src emacsclient.c [EMACS_22_BASE] |
Date: |
Fri, 26 Oct 2007 15:39:06 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Juanma Barranquero <lektu> 07/10/26 15:39:06
Modified files:
lib-src : emacsclient.c
Log message:
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.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lib-src/emacsclient.c?cvsroot=emacs&only_with_tag=EMACS_22_BASE&r1=1.104.2.3&r2=1.104.2.4