annotate src/s/uxpv.h @ 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 695cf19ef79e
children 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24384
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 /* System description file for Fujitsu UXP/V
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2 This file describes the parameters that system description files
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 should define or not. */
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5 #include "usg5-4-2.h"
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 /* SYSTEM_TYPE should indicate the kind of system you are using.
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 It sets the Lisp variable system-type. */
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 #undef SYSTEM_TYPE
e075b0cbd57a Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 #define SYSTEM_TYPE "uxpv"
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 24384
diff changeset
12
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 24384
diff changeset
13 /* arch-tag: 3f00cfe7-f44c-45ce-a2fe-2b17fc411a1e
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 24384
diff changeset
14 (do not change this comment) */