Print this page
make: remove SCCS ident stuff
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/make/lib/mksh/src/globals.cc
+++ new/usr/src/cmd/make/lib/mksh/src/globals.cc
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21 /*
22 22 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
23 23 * Use is subject to license terms.
24 24 */
25 -/*
26 - * @(#)globals.cc 1.16 06/12/12
27 - */
28 25
29 -#pragma ident "@(#)globals.cc 1.16 06/12/12"
30 26
31 27 /*
32 28 * globals.cc
33 29 *
34 30 * This declares all global variables
35 31 */
36 32
37 33 /*
38 34 * Included files
39 35 */
40 36 #include <mksh/globals.h>
41 37
42 38 /*
43 39 * Defined macros
44 40 */
45 41
46 42 /*
47 43 * typedefs & structs
48 44 */
49 45
50 46 /*
51 47 * Global variables
52 48 */
53 49 char char_semantics[CHAR_SEMANTICS_ENTRIES];
54 50 wchar_t char_semantics_char[] = {
55 51 ampersand_char,
56 52 asterisk_char,
57 53 at_char,
58 54 backquote_char,
59 55 backslash_char,
60 56 bar_char,
61 57 bracketleft_char,
62 58 bracketright_char,
63 59 colon_char,
64 60 dollar_char,
65 61 doublequote_char,
66 62 equal_char,
67 63 exclam_char,
68 64 greater_char,
69 65 hat_char,
70 66 hyphen_char,
71 67 less_char,
72 68 newline_char,
73 69 numbersign_char,
74 70 parenleft_char,
75 71 parenright_char,
76 72 percent_char,
77 73 plus_char,
78 74 question_char,
79 75 quote_char,
80 76 semicolon_char,
81 77 #ifdef SGE_SUPPORT
82 78 space_char,
83 79 tab_char,
84 80 #endif
85 81 nul_char
86 82 };
87 83 Macro_list cond_macro_list;
88 84 Boolean conditional_macro_used;
89 85 Boolean do_not_exec_rule; /* `-n' */
90 86 Boolean dollarget_seen;
91 87 Boolean dollarless_flag;
92 88 Name dollarless_value;
93 89 Envvar envvar;
94 90 #ifdef lint
95 91 char **environ;
96 92 #endif
97 93 #ifdef SUN5_0
98 94 int exit_status;
99 95 #endif
100 96 wchar_t *file_being_read;
101 97 /* Variable gnu_style=true if env. var. SUN_MAKE_COMPAT_MODE=GNU (RFE 4866328) */
102 98 Boolean gnu_style = false;
103 99 Name_set hashtab;
104 100 Name host_arch;
105 101 Name host_mach;
106 102 int line_number;
107 103 char *make_state_lockfile;
108 104 Boolean make_word_mentioned;
109 105 Makefile_type makefile_type = reading_nothing;
110 106 char mbs_buffer[(MAXPATHLEN * MB_LEN_MAX)];
111 107 Name path_name;
112 108 Boolean posix = true;
113 109 Name hat;
114 110 Name query;
115 111 Boolean query_mentioned;
116 112 Boolean reading_environment;
117 113 Name shell_name;
118 114 Boolean svr4 = false;
119 115 Name target_arch;
120 116 Name target_mach;
121 117 Boolean tilde_rule;
122 118 Name virtual_root;
123 119 Boolean vpath_defined;
124 120 Name vpath_name;
125 121 wchar_t wcs_buffer[MAXPATHLEN];
126 122 Boolean working_on_targets;
127 123 #if defined (TEAMWARE_MAKE_CMN) && defined(REDIRECT_ERR)
128 124 Boolean out_err_same;
129 125 #endif
130 126 pid_t childPid = -1; // This variable is used for killing child's process
131 127 // Such as qrsh, running command, etc.
132 128
133 129 /*
134 130 * timestamps defined in defs.h
135 131 */
136 132 const timestruc_t file_no_time = { -1, 0 };
137 133 const timestruc_t file_doesnt_exist = { 0, 0 };
138 134 const timestruc_t file_is_dir = { 1, 0 };
139 135 const timestruc_t file_min_time = { 2, 0 };
140 136 const timestruc_t file_max_time = { INT_MAX, 0 };
↓ open down ↓ |
101 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX