/* -*-C-*-
-$Id: option.c,v 1.32 1993/06/09 20:30:00 jawilson Exp $
+$Id: option.c,v 1.33 1993/06/24 06:07:24 gjr Exp $
Copyright (c) 1990-1993 Massachusetts Institute of Technology
/* Command-line option processing */
-#include <stdio.h>
#include <ctype.h>
#include "ansidecl.h"
#include "obstack.h"
extern int strlen ();
#endif
+#ifndef NULL
+# define NULL 0
+#endif
+
extern struct obstack scratch_obstack;
extern CONST char * scheme_program_name;
extern void EXFUN (termination_init_error, (void));
#endif
#ifndef DEFAULT_LARGE_CONSTANT
-#define DEFAULT_LARGE_CONSTANT 1010
+#define DEFAULT_LARGE_CONSTANT 1100
#endif
#ifndef DEFAULT_EDWIN_CONSTANT
: ((length1 < length2) ? (-1) : 1));
}
+#if 0
static char *
DEFUN (strchr, (s, c), CONST char * s AND int c)
{
if (c1 == '\0') return (0);
}
}
+#endif
static PTR
DEFUN (xmalloc, (n), unsigned long n)
PTR result = (malloc (n));
if (result == 0)
{
- fprintf (stderr, "%s: unable to allocate space while parsing options.\n",
+ outf_fatal ("%s: unable to allocate space while parsing options.\n",
scheme_program_name);
termination_init_error ();
}
(*value_cell) = (*scan_argv++);
else
{
- fprintf (stderr, "%s: option %s requires an argument.\n",
+ outf_fatal ("%s: option %s requires an argument.\n",
scheme_program_name, option);
termination_init_error ();
}
long n = (strtol (optval, ((char **) NULL), 0));
if (n < 0)
{
- fprintf (stderr, "%s: illegal argument %s for option %s.\n",
+ outf_fatal ("%s: illegal argument %s for option %s.\n",
scheme_program_name, optval, option);
termination_init_error ();
}
long n = (strtol (t, ((char **) NULL), 0));
if (n < 0)
{
- fprintf (stderr, "%s: illegal value %s for variable %s.\n",
+ outf_fatal ("%s: illegal value %s for variable %s.\n",
scheme_program_name, t, variable);
termination_init_error ();
}
int n = (atoi (optval));
if (n <= 0)
{
- fprintf (stderr, "%s: illegal argument %s for option %s.\n",
+ outf_fatal ("%s: illegal argument %s for option %s.\n",
scheme_program_name, optval, option);
termination_init_error ();
}
int n = (atoi (t));
if (n <= 0)
{
- fprintf (stderr, "%s: illegal value %s for variable %s.\n",
+ outf_fatal ("%s: illegal value %s for variable %s.\n",
scheme_program_name, t, variable);
termination_init_error ();
}
{
CONST char ** scan_path = option_library_path;
- fprintf (stderr, "%s: can't find a readable %s",
+ outf_fatal ("%s: can't find a readable %s",
scheme_program_name, (default_p ? "default" : "file"));
if (option != 0)
- fprintf (stderr, " for option %s", option);
- fprintf (stderr, ".\n");
- fprintf (stderr, "\tsearched for file %s in these directories:\n",
+ outf_fatal (" for option %s", option);
+ outf_fatal (".\n");
+ outf_fatal ("\tsearched for file %s in these directories:\n",
filename);
if (!default_p)
- fprintf (stderr, "\t.\n");
+ outf_fatal ("\t.\n");
while (1)
{
CONST char * element = (*scan_path++);
if (element == 0)
break;
- fprintf (stderr, "\t%s\n", element);
+ outf_fatal ("\t%s\n", element);
}
termination_init_error ();
/*NOTREACHED*/
{
if (fail_p)
{
- fprintf (stderr, "%s: can't read file %s for option %s.\n",
+ outf_fatal ("%s: can't read file %s for option %s.\n",
scheme_program_name, optval, option);
termination_init_error ();
}
{
if ((! (FILE_READABLE (filename))) && fail_p)
{
- fprintf (stderr, "%s: can't read default file %s for option %s.\n",
+ outf_fatal ("%s: can't read default file %s for option %s.\n",
scheme_program_name, filename, option);
termination_init_error ();
}
CONST char * option1 AND
CONST char * option2)
{
- fprintf (stderr, "%s: can't specify both options %s and %s.\n",
+ outf_fatal ("%s: can't specify both options %s and %s.\n",
scheme_program_name, option1, option2);
termination_init_error ();
}
CONST char * name AND
int value)
{
- fprintf (stderr, " %s: %s\n", name, (value ? "yes" : "no"));
+ outf_fatal (" %s: %s\n", name, (value ? "yes" : "no"));
}
static void
CONST char * name AND
CONST char * value)
{
- fprintf (stderr, " %s: %s\n", name, value);
+ outf_fatal (" %s: %s\n", name, value);
}
static void
CONST char * name AND
int value)
{
- fprintf (stderr, " %s: %d\n", name, value);
+ outf_fatal (" %s: %d\n", name, value);
}
static void
CONST char * name AND
unsigned int value)
{
- fprintf (stderr, " %s size: %d\n", name, value);
+ outf_fatal (" %s size: %d\n", name, value);
}
static void
CONST char * name AND
CONST char ** value)
{
- fprintf (stderr, " %s: ", name);
+ outf_fatal (" %s: ", name);
{
CONST char ** scan = value;
- fprintf (stderr, "%s", (*scan++));
+ outf_fatal ("%s", (*scan++));
while (1)
{
CONST char * element = (*scan++);
if (element == 0) break;
- fprintf (stderr, ":%s", element);
+ outf_fatal (":%s", element);
}
}
- fprintf (stderr, "\n");
+ outf_fatal ("\n");
}
static void
DEFUN_VOID (describe_options)
{
- fprintf (stderr, "Summary of configuration options:\n");
+ outf_fatal ("Summary of configuration options:\n");
describe_size_option ("heap", option_heap_size);
describe_size_option ("constant-space", option_constant_size);
describe_size_option ("stack", option_stack_size);
describe_boolean_option ("force interactive", option_force_interactive);
describe_boolean_option ("disable core dump", option_disable_core_dump);
if (option_unused_argc == 0)
- fprintf (stderr, " no unused arguments\n");
+ outf_fatal (" no unused arguments\n");
else
{
CONST char ** scan = option_unused_argv;
CONST char ** end = (scan + option_unused_argc);
- fprintf (stderr, " unused arguments:");
+ outf_fatal (" unused arguments:");
while (scan < end)
- fprintf (stderr, " %s", (*scan++));
- fprintf (stderr, "\n");
+ outf_fatal (" %s", (*scan++));
+ outf_fatal ("\n");
}
- fflush (stderr);
}
\f
void
#ifndef NATIVE_CODE_IS_C
if (! (FILE_READABLE (option_fasl_file)))
{
- fprintf (stderr, "%s: can't read option file: -fasl %s\n",
+ outf_fatal ("%s: can't read option file: -fasl %s\n",
scheme_program_name, option_fasl_file);
termination_init_error ();
}
/* -*-C-*-
-$Id: os.h,v 1.3 1993/02/11 02:27:13 adams Exp $
+$Id: os.h,v 1.4 1993/06/24 06:08:38 gjr Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#include "ansidecl.h"
#include "oscond.h"
-#ifdef WINNT
-#include "posixtyp.h" /* SRA : renamed for 8 char name length*/
-#else
-#include "posixtype.h"
-#endif
+#include "posixtyp.h"
typedef unsigned int Tchannel;
/* -*-C-*-
-$Id: oscond.h,v 1.13 1993/02/11 02:29:29 adams Exp $
+$Id: oscond.h,v 1.14 1993/06/24 06:09:34 gjr Exp $
-Copyright (c) 1990-1992 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/osscheme.c,v 1.6 1992/02/04 04:14:32 jinx Exp $
+$Id: osscheme.c,v 1.7 1993/06/24 06:12:14 gjr Exp $
-Copyright (c) 1990-92 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
}
void
-DEFUN (debug_back_trace, (stream), FILE * stream)
+DEFUN (debug_back_trace, (stream), outf_channel stream)
{
- fputs ("*** Scheme Microcode Back Trace: ***\n", stream);
+ outf (stream, "*** Scheme Microcode Back Trace: ***\n");
Back_Trace (stream);
- fputs ("*** End of Back Trace ***\n", stream);
- fflush (stream);
+ outf (stream, "*** End of Back Trace ***\n");
+ outf_flush (stream);
return;
}
/* -*-C-*-
-$Id: osscheme.h,v 1.7 1992/08/29 13:04:26 jinx Exp $
+$Id: osscheme.h,v 1.8 1993/06/24 06:11:12 gjr Exp $
-Copyright (c) 1990-1992 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#ifndef SCM_OSSCHEME_H
#define SCM_OSSCHEME_H
-#include <stdio.h>
+#include "outf.h"
#include "os.h"
extern Tchannel EXFUN (arg_channel, (int arg_number));
extern int EXFUN (executing_scheme_primitive_p, (void));
extern void EXFUN (debug_edit_flags, (void));
-extern void EXFUN (debug_back_trace, (FILE *));
+extern void EXFUN (debug_back_trace, (outf_channel));
extern void EXFUN (debug_examine_memory, (long address, CONST char * label));
extern void EXFUN (error_out_of_channels, (void));
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/posixtyp.h,v 1.7 1993/02/11 02:32:45 adams Exp $
+$Id: posixtyp.h,v 1.8 1993/06/24 06:13:23 gjr Exp $
-Copyright (c) 1990-91 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/prmcon.c,v 1.1 1990/11/21 07:00:14 jinx Rel $
+$Id: prmcon.c,v 1.2 1993/06/24 06:14:23 gjr Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
primitive = (Regs[REGBLOCK_PRIMITIVE]);
if (!PRIMITIVE_P (primitive))
{
- fprintf (stderr,
- "\nsuspend_primitive invoked when not in primitive!\n");
+ outf_fatal ("\nsuspend_primitive invoked when not in primitive!\n");
Microcode_Termination (TERM_BAD_BACK_OUT);
}
/* -*-C-*-
-$Id: psbmap.h,v 9.38 1993/02/11 02:35:32 adams Exp $
+$Id: psbmap.h,v 9.39 1993/06/24 06:15:32 gjr Exp $
-Copyright (c) 1987-1992 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#include "types.h"
#include "object.h"
#include "bignum.h"
-
-#ifdef WINNT
-#include "bignumin.h" /* SRA: rename bignumint.h bignumin.h*/
-#else
-#include "bignumint.h"
-#endif
-
+#include "bignmint.h"
#include "bitstr.h"
#include "sdata.h"
#include "const.h"
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ptrvec.c,v 1.1 1990/06/20 19:38:50 cph Rel $ */
+/* $Id: ptrvec.c,v 1.2 1993/06/24 06:17:08 gjr Exp $ */
-#include <stdio.h>
+#include "outf.h"
#include "dstack.h"
static PTR
PTR result = (malloc (length));
if (result == 0)
{
- fputs ("malloc: memory allocation failed\n", stderr);
- fflush (stderr);
+ outf_fatal ("malloc: memory allocation failed\n");
+ outf_flush_fatal ();
abort ();
}
return (result);
PTR result = (realloc (ptr, length));
if (result == 0)
{
- fputs ("realloc: memory allocation failed\n", stderr);
- fflush (stderr);
+ outf_fatal ("realloc: memory allocation failed\n");
+ outf_flush_fatal ();
abort ();
}
return (result);
/* -*-C-*-
-$Id: purify.c,v 9.48 1993/03/10 17:20:04 cph Exp $
+$Id: purify.c,v 9.49 1993/06/24 06:18:24 gjr Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+Copyright (c) 1988-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
Result = GCLoop (Heap_Start, &Free);
if (Free != Result)
{
- fprintf (stderr, "\nPurify: Pure Scan ended too early.\n");
+ outf_fatal ("\nPurify: Pure Scan ended too early.\n");
Microcode_Termination (TERM_BROKEN_HEART);
}
Length = ((Free - Heap_Start) - 1); /* Length of object */
if (Free_Constant != Result)
{
- fprintf (stderr, "\nPurify: Pure Copy ended too early.\n");
+ outf_fatal ("\nPurify: Pure Copy ended too early.\n");
Microcode_Termination (TERM_BROKEN_HEART);
}
Pure_Length = ((Free_Constant - New_Object) + 1);
Result = PurifyLoop ((New_Object + 1), &Free_Constant, CONSTANT_COPY);
if (Result != Free_Constant)
{
- fprintf (stderr, "\nPurify: Pure Copy ended too early.\n");
+ outf_fatal ("\nPurify: Pure Copy ended too early.\n");
Microcode_Termination (TERM_BROKEN_HEART);
}
}
Result = GCLoop ((New_Object + 1), &Free_Constant);
if (Result != Free_Constant)
{
- fprintf (stderr, "\nPurify: Constant Copy ended too early.\n");
+ outf_fatal ("\nPurify: Constant Copy ended too early.\n");
Microcode_Termination (TERM_BROKEN_HEART);
}
}
*Free_Constant++ = (MAKE_OBJECT (END_OF_BLOCK, (Recomputed_Length + 5)));
if (!(TEST_CONSTANT_TOP (Free_Constant)))
{
- fprintf (stderr,
+ outf_fatal (
"\nPurify overrun: Constant_Top = 0x%lx, Free_Constant = 0x%lx\n",
Constant_Top, Free_Constant);
Microcode_Termination (TERM_EXIT);
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/purutl.c,v 9.43 1992/02/03 23:37:07 jinx Exp $
+$Id: purutl.c,v 9.44 1993/06/24 06:20:03 gjr Exp $
-Copyright (c) 1987-1992 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
case TC_MANIFEST_SPECIAL_NM_VECTOR:
case_Non_Pointer:
#if FALSE
- fprintf(stderr, "\nImpurify Non-Pointer (0x%lx)\n", Object);
- Microcode_Termination(TERM_NON_POINTER_RELOCATION);
+ outf_fatal ("\nImpurify Non-Pointer (0x%lx)\n", Object);
+ Microcode_Termination (TERM_NON_POINTER_RELOCATION);
/* fall through */
#endif
case TC_BIG_FLONUM:
case TC_MANIFEST_CLOSURE:
case_compiled_entry_point:
default:
- fprintf(stderr, "\nImpurify: Bad type code = 0x%02x.\n",
- OBJECT_TYPE (Object));
#ifdef BAD_TYPES_LETHAL
- Microcode_Termination(TERM_INVALID_TYPE_CODE);
+ outf_fatal ("\nImpurify: Bad type code = 0x%02x.\n",
+ OBJECT_TYPE (Object));
+ Microcode_Termination (TERM_INVALID_TYPE_CODE);
/*NOTREACHED*/
#else /* not BAD_TYPES_LETHAL */
+ outf_error ("\nImpurify: Bad type code = 0x%02x.\n",
+ OBJECT_TYPE (Object));
return (ERR_ARG_1_WRONG_TYPE);
#endif /* BAD_TYPES_LETHAL */
}
dest = Free_Constant;
if (!(TEST_CONSTANT_TOP (dest + nobjects + 6)))
{
- fprintf (stderr,
- "copy_to_constant_space: Not enough constant space!\n");
+ outf_fatal ("copy_to_constant_space: Not enough constant space!\n");
Microcode_Termination (TERM_NO_SPACE);
}
*dest++ = (MAKE_OBJECT (TC_MANIFEST_SPECIAL_NM_VECTOR, 3));
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/returns.h,v 9.40 1992/02/08 14:54:12 cph Exp $
+$Id: returns.h,v 9.41 1993/06/24 06:20:49 gjr Exp $
-Copyright (c) 1987-92 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/scheme.h,v 9.34 1990/11/27 19:15:21 cph Rel $
+$Id: scheme.h,v 9.35 1993/06/24 06:22:01 gjr Exp $
-Copyright (c) 1987, 1988, 1989, 1990 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#include "butterfly.h"
#endif
+#include "outf.h" /* Formatted output for errors */
#include "bkpt.h" /* Shadows some defaults */
#include "default.h" /* Defaults for various hooks. */
#include "extern.h" /* External declarations */
/* -*-C-*-
-$Id: stack.h,v 9.33 1992/09/26 02:55:03 cph Exp $
+$Id: stack.h,v 9.34 1993/06/24 06:22:52 gjr Exp $
-Copyright (c) 1987-1992 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
{ \
if (Stack_Pointer < Stack_Guard) \
{ \
- fprintf(stderr, "\nStack_Pointer: 0x%lx, Guard: 0x%lx\n", \
- ((long) Stack_Pointer), ((long) Stack_Guard)); \
+ outf_fatal ("\nStack_Pointer: 0x%lx, Guard: 0x%lx\n", \
+ ((long) Stack_Pointer), ((long) Stack_Guard)); \
Microcode_Termination(TERM_EXIT); \
} \
Internal_Terminate_Old_Stacklet(); \
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/term.c,v 1.5 1991/08/26 15:00:20 arthur Exp $
+$Id: term.c,v 1.6 1993/06/24 06:25:34 gjr Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
static void
DEFUN (attempt_termination_backout, (code), int code)
{
- fflush (stderr);
+ outf_flush_error(); /* NOT flush_fatal */
if ((WITHIN_CRITICAL_SECTION_P ())
|| (code == TERM_HALT)
|| (! (Valid_Fixed_Obj_Vector ())))
{
attempt_termination_backout (code);
OS_restore_external_state ();
- putc ('\n', stdout);
+ outf_fatal("\n");
if ((code < 0) || (code > MAX_TERMINATION))
- fprintf (stdout, "Unknown termination code 0x%x", code);
+ outf_fatal("Unknown termination code 0x%x", code);
else
- fputs ((Term_Messages [code]), stdout);
+ outf_fatal("%s", (Term_Messages [code]));
if ((WITHIN_CRITICAL_SECTION_P ()) && (code != TERM_HALT))
- fprintf (stdout, " within critical section \"%s\"",
- (CRITICAL_SECTION_NAME ()));
- fputs (".\n", stdout);
+ outf_fatal (" within critical section \"%s\"",
+ (CRITICAL_SECTION_NAME ()));
+ outf_fatal(".\n");
}
static void
#ifdef EXIT_HOOK
EXIT_HOOK (code, value, abnormal_p);
#endif
- fflush (stdout);
+#if WINNT
+ if (code != TERM_HALT) outf_flush_fatal(); /*dont salute*/
+ winnt_deallocate_registers();
+#else
+ outf_flush_fatal();
+#endif
Reset_Memory ();
EXIT_SCHEME (value);
}
{
if (Trace_On_Error)
{
- fprintf (stdout, "\n\n**** Stack trace ****\n\n");
- Back_Trace (stdout);
+ outf_error ("\n\n**** Stack trace ****\n\n");
+ Back_Trace (error_output);
}
termination_suffix (code, 1, 1);
}
{
termination_prefix (TERM_END_OF_COMPUTATION);
Print_Expression (Val, "Final result");
- putc ('\n', stdout);
+ outf_console("\n");
termination_suffix (TERM_END_OF_COMPUTATION, 0, 0);
}
long heap_size;
long const_size;
get_band_parameters (&heap_size, &const_size);
- fputs ("Try again with values at least as large as\n", stdout);
- fprintf (stdout, " -heap %d (%d + %d)\n",
+ outf_fatal ("Try again with values at least as large as\n");
+ outf_fatal (" -heap %d (%d + %d)\n",
(MIN_HEAP_DELTA + (BYTES_TO_BLOCKS (heap_size))),
(BYTES_TO_BLOCKS (heap_size)),
MIN_HEAP_DELTA);
- fprintf (stdout, " -constant %d\n", (BYTES_TO_BLOCKS (const_size)));
+ outf_fatal (" -constant %d\n", (BYTES_TO_BLOCKS (const_size)));
}
termination_suffix (TERM_NO_ERROR_HANDLER, 1, 1);
}
DEFUN_VOID (termination_gc_out_of_space)
{
termination_prefix (TERM_GC_OUT_OF_SPACE);
- fputs ("You are out of space at the end of a Garbage Collection!\n",
- stdout);
- fprintf (stdout, "Free = 0x%lx; MemTop = 0x%lx; Heap_Top = 0x%lx\n",
- Free, MemTop, Heap_Top);
- fprintf (stdout, "Words required = %ld; Words available = %ld\n",
- (MemTop - Free), GC_Space_Needed);
+ outf_fatal ("You are out of space at the end of a Garbage Collection!\n");
+ outf_fatal ("Free = 0x%lx; MemTop = 0x%lx; Heap_Top = 0x%lx\n",
+ Free, MemTop, Heap_Top);
+ outf_fatal ("Words required = %ld; Words available = %ld\n",
+ (MemTop - Free), GC_Space_Needed);
termination_suffix_trace (TERM_GC_OUT_OF_SPACE);
}
if (signal_name != 0)
{
termination_prefix (TERM_SIGNAL);
- fprintf (stdout, "Killed by %s.\n", signal_name);
+ outf_fatal ("Killed by %s.\n");
}
else
attempt_termination_backout (TERM_SIGNAL);
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/transact.c,v 1.1 1990/06/20 19:38:56 cph Rel $ */
+/* $Id: transact.c,v 1.2 1993/06/24 06:26:55 gjr Exp $ */
#include <stdio.h>
+#include "ansidecl.h"
+#include "outf.h"
#include "dstack.h"
static void
CONST char * procedure_name AND
CONST char * message)
{
- fprintf (stderr, "%s: %s\n", procedure_name, message);
- fflush (stderr);
+ outf_fatal ("%s: %s\n", procedure_name, message);
+ outf_flush_fatal ();
abort ();
}
/* -*-C-*-
-$Id: psbmap.h,v 9.38 1993/02/11 02:35:32 adams Exp $
+$Id: psbmap.h,v 9.39 1993/06/24 06:15:32 gjr Exp $
-Copyright (c) 1987-1992 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#include "types.h"
#include "object.h"
#include "bignum.h"
-
-#ifdef WINNT
-#include "bignumin.h" /* SRA: rename bignumint.h bignumin.h*/
-#else
-#include "bignumint.h"
-#endif
-
+#include "bignmint.h"
#include "bitstr.h"
#include "sdata.h"
#include "const.h"
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/returns.h,v 9.40 1992/02/08 14:54:12 cph Exp $
+$Id: returns.h,v 9.41 1993/06/24 06:20:49 gjr Exp $
-Copyright (c) 1987-92 Massachusetts Institute of Technology
+Copyright (c) 1987-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and