Changeset 2415 for trunk/src/kash/generated/init.c
- Timestamp:
- Sep 14, 2010, 1:13:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/generated/init.c
r2290 r2415 110 110 #undef STANDARD_BITS 111 111 #define STANDARD_BITS (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 112 #undef SHMEMHDR_MAGIC_FREE 113 #define SHMEMHDR_MAGIC_FREE 0xbeeff00d 114 #undef SHMEMHDR_MAGIC_USED 115 #define SHMEMHDR_MAGIC_USED 0xfeedface 116 #undef SHMEMCHUNK_MAGIC 117 #define SHMEMCHUNK_MAGIC 0x12345678 118 #undef SHHEAP_MIN_CHUNK 119 #define SHHEAP_MIN_CHUNK 0x80000 //(1024*1024) 120 #undef SHFILE_MAX 121 #define SHFILE_MAX 1024 122 #undef SHFILE_GROW 123 #define SHFILE_GROW 64 124 #undef SHFILE_UNIX_MIN_FD 125 #define SHFILE_UNIX_MIN_FD 32 126 #undef SHFILE_MAX_PATH 127 #define SHFILE_MAX_PATH 4096 128 #undef YY_NO_UNPUT 129 #define YY_NO_UNPUT 112 130 113 131 … … 132 150 init(shinstance *psh) { 133 151 134 /* from exec.c: */152 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/exec.c: */ 135 153 { 136 154 hash_special_builtins(psh); 137 155 } 138 156 139 /* from input.c: */157 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/input.c: */ 140 158 { 141 159 psh->basepf.nextc = psh->basepf.buf = psh->basebuf; 142 160 } 143 161 144 /* from options.c: */162 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/options.c: */ 145 163 { 146 164 memcpy(&psh->optlist[0], &ro_optlist[0], sizeof(psh->optlist)); 147 165 } 148 166 149 /* from var.c: */167 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/var.c: */ 150 168 { 151 169 char **envp; … … 170 188 reset(shinstance *psh) { 171 189 172 /* from eval.c: */190 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/eval.c: */ 173 191 { 174 192 psh->evalskip = 0; … … 177 195 } 178 196 179 /* from input.c: */197 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/input.c: */ 180 198 { 181 199 if (psh->exception != EXSHELLPROC) … … 184 202 } 185 203 186 /* from output.c: */204 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/output.c: */ 187 205 { 188 206 psh->out1 = &psh->output; … … 194 212 } 195 213 196 /* from parser.c: */214 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/parser.c: */ 197 215 { 198 216 psh->tokpushback = 0; … … 200 218 } 201 219 202 /* from redir.c: */220 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/redir.c: */ 203 221 { 204 222 while (psh->redirlist) … … 216 234 initshellproc(shinstance *psh) { 217 235 218 /* from alias.c: */236 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/alias.c: */ 219 237 { 220 238 rmaliases(psh); 221 239 } 222 240 223 /* from eval.c: */241 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/eval.c: */ 224 242 { 225 243 psh->exitstatus = 0; 226 244 } 227 245 228 /* from exec.c: */246 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/exec.c: */ 229 247 { 230 248 deletefuncs(psh); 231 249 } 232 250 233 /* from input.c: */251 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/input.c: */ 234 252 { 235 253 popallfiles(psh); 236 254 } 237 255 238 /* from jobs.c: */256 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/jobs.c: */ 239 257 { 240 258 psh->backgndpid = -1; … … 244 262 } 245 263 246 /* from options.c: */264 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/options.c: */ 247 265 { 248 266 int i; … … 254 272 } 255 273 256 /* from redir.c: */274 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/redir.c: */ 257 275 { 258 276 clearredir(psh, 0); 259 277 } 260 278 261 /* from trap.c: */279 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/trap.c: */ 262 280 { 263 281 char *sm; … … 270 288 } 271 289 272 /* from var.c: */290 /* from /Volumes/ScratchHFS/bird/kBuild/svn/trunk/src/kash/var.c: */ 273 291 { 274 292 shprocvar(psh);
Note:
See TracChangeset
for help on using the changeset viewer.