Changeset 5543
- Timestamp:
- Nov 9, 2006, 2:50:04 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lisp-kernel/pmcl-kernel.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/pmcl-kernel.c
r5336 r5543 854 854 } 855 855 fprintf(stderr, "Fatal error: %s\n%s\n", param0, param1); 856 exit(-1);856 _exit(-1); 857 857 } 858 858 … … 1183 1183 { 1184 1184 kill(main_thread_pid, SIGKILL); 1185 exit(-1);1185 _exit(-1); 1186 1186 } 1187 1187 … … 1327 1327 } 1328 1328 #endif 1329 1330 void 1331 lazarus() 1332 { 1333 TCR *tcr = get_tcr(false); 1334 if (tcr) { 1335 tcr->vs_area->active = tcr->vs_area->high - node_size; 1336 tcr->save_vsp = (LispObj *)(tcr->vs_area->active); 1337 tcr->ts_area->active = tcr->ts_area->high; 1338 tcr->save_tsp = (LispObj *)(tcr->ts_area->active); 1339 tcr->catch_top = 0; 1340 tcr->db_link = 0; 1341 tcr->xframe = 0; 1342 start_lisp(tcr, 0); 1343 } 1344 } 1329 1345 1330 1346 main(int argc, char *argv[], char *envp[], void *aux) … … 1526 1542 egc_control(true, NULL); 1527 1543 #endif 1544 atexit(lazarus); 1528 1545 start_lisp(TCR_TO_TSD(tcr), 0); 1529 exit(0);1546 _exit(0); 1530 1547 } 1531 1548
Note:
See TracChangeset
for help on using the changeset viewer.
