/* -*-C-*-
-$Id: bchdmp.c,v 9.84 2000/01/18 05:05:57 cph Exp $
+$Id: bchdmp.c,v 9.85 2000/01/18 05:06:26 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* -*-C-*-
-$Id: bchmmg.c,v 9.94 2000/01/18 05:06:06 cph Exp $
+$Id: bchmmg.c,v 9.95 2000/01/18 05:06:34 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* -*-C-*-
-$Id: bchutl.c,v 1.9 2000/01/18 05:06:14 cph Exp $
+$Id: bchutl.c,v 1.10 2000/01/18 05:06:42 cph Exp $
-Copyright (c) 1991-1999 Massachusetts Institute of Technology
+Copyright (c) 1991-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* -*-C-*-
-$Id: bignum.c,v 9.47 1999/01/02 06:11:34 cph Exp $
+$Id: bignum.c,v 9.48 2000/01/18 05:07:03 cph Exp $
-Copyright (c) 1989-1999 Massachusetts Institute of Technology
+Copyright (c) 1989-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
(bignum_type, int));
static void EXFUN (bignum_destructive_copy,
(bignum_type, bignum_type));
-static void EXFUN (bignum_destructive_zero,
- (bignum_type));
#define ULONG_LENGTH_IN_BITS(digit, len) \
do { \
(*scan_target++) = (*scan_source++);
return;
}
-
-static void
-DEFUN (bignum_destructive_zero, (bignum), fast bignum_type bignum)
-{
- fast bignum_digit_type * scan = (BIGNUM_START_PTR (bignum));
- fast bignum_digit_type * end = (scan + (BIGNUM_LENGTH (bignum)));
- while (scan < end)
- (*scan++) = 0;
- return;
-}
/* -*-C-*-
-$Id: bintopsb.c,v 9.70 2000/01/18 02:52:54 cph Exp $
+$Id: bintopsb.c,v 9.71 2000/01/18 05:07:46 cph Exp $
Copyright (c) 1987-2000 Massachusetts Institute of Technology
case GLOBAL_OPERATOR_LINKAGE_KIND:
{
char * word_ptr;
- long count, address = 0;
+ long count = 0;
SCHEME_OBJECT This, * area_end, * scan, * i_scan;
i_scan = (from - 1);
{
unsigned long nmv_length;
- SCHEME_OBJECT * entry;
nmv_length = (OBJECT_DATUM (compiled_block_table [the_datum + 1]));
fprintf (portable_file, "%02x %lx %lx\n",
/* -*-C-*-
-$Id: bitstr.c,v 9.61 1999/01/02 06:11:34 cph Exp $
+$Id: bitstr.c,v 9.62 2000/01/18 05:08:00 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
else
{
long mask1 = (LOW_MASK (offset1));
- long dest_buffer;
- {
- long mask = (ANY_MASK (head, offset1));
- dest_buffer
- = (((head + offset1) < OBJECT_LENGTH)
- ? ((BIT_STRING_WORD (destination))
- &~ (LOW_MASK (head + offset1)))
- : 0);
- dest_buffer
- |= (((* (DEC_BIT_STRING_PTR (source))) & (LOW_MASK (head)))
- << offset1);
- }
+ long dest_buffer
+ = (((head + offset1) < OBJECT_LENGTH)
+ ? ((BIT_STRING_WORD (destination))
+ &~ (LOW_MASK (head + offset1)))
+ : 0);
+ dest_buffer
+ |= (((* (DEC_BIT_STRING_PTR (source))) & (LOW_MASK (head)))
+ << offset1);
nbits -= head;
while (nbits >= OBJECT_LENGTH)
{
/* -*-C-*-
-$Id: fasload.c,v 9.86 1999/01/02 06:11:34 cph Exp $
+$Id: fasload.c,v 9.87 2000/01/18 05:08:09 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
extern int EXFUN (strlen, (const char *));
extern char * EXFUN (strcpy, (char *, const char *));
#endif
+#ifdef __STDC__
+#include <stdlib.h>
+#else
extern char * EXFUN (malloc, (int));
+#endif
extern char * Error_Names [];
extern char * Abort_Names [];
int __len = (length); \
((__o->next_free + __len > __o->chunk_limit) \
? _obstack_newchunk (__o, __len) : 0); \
- bcopy (where, __o->next_free, __len); \
+ memcpy (__o->next_free, where, __len); \
__o->next_free += __len; \
(void) 0; })
int __len = (length); \
((__o->next_free + __len + 1 > __o->chunk_limit) \
? _obstack_newchunk (__o, __len + 1) : 0), \
- bcopy (where, __o->next_free, __len), \
+ memcpy (__o->next_free, where, __len), \
__o->next_free += __len, \
*(__o->next_free)++ = 0; \
(void) 0; })
( (h)->temp = (length), \
(((h)->next_free + (h)->temp > (h)->chunk_limit) \
? (_obstack_newchunk ((h), (h)->temp), 0) : 0), \
- bcopy (where, (h)->next_free, (h)->temp), \
+ memcpy ((h)->next_free, where, (h)->temp), \
(h)->next_free += (h)->temp)
#define obstack_grow0(h,where,length) \
( (h)->temp = (length), \
(((h)->next_free + (h)->temp + 1 > (h)->chunk_limit) \
? (_obstack_newchunk ((h), (h)->temp + 1), 0) : 0), \
- bcopy (where, (h)->next_free, (h)->temp), \
+ memcpy ((h)->next_free, where, (h)->temp), \
(h)->next_free += (h)->temp, \
*((h)->next_free)++ = 0)
/* -*-C-*-
-$Id: option.c,v 1.52 2000/01/07 02:20:31 cph Exp $
+$Id: option.c,v 1.53 2000/01/18 05:08:35 cph Exp $
Copyright (c) 1990-2000 Massachusetts Institute of Technology
#include "ntio.h"
#else /* not WINNT */
-#ifdef _POSIX
+#ifdef _POSIX
#include <unistd.h>
-#include <string.h>
-extern char * EXFUN (malloc, (int));
-
-#else /* not _POSIX */
-
+#else
extern int strlen ();
+#endif
+
+#ifdef __STDC__
+#include <stdlib.h>
+#include <string.h>
+#else
extern char * EXFUN (malloc, (int));
+#endif
-#endif /* not _POSIX */
#endif /* not WINNT */
#ifndef NULL
/* -*-C-*-
-$Id: osenv.h,v 1.8 1999/01/02 06:11:34 cph Exp $
+$Id: osenv.h,v 1.9 2000/01/18 05:08:46 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
};
extern time_t EXFUN (OS_encoded_time, ());
-extern void EXFUN (OS_decode_time, (time_t, struct time_structure * ts));
-extern time_t EXFUN (OS_encode_time, (struct time_structure * ts));
+extern void EXFUN (OS_decode_time, (time_t, struct time_structure *));
+extern void EXFUN (OS_decode_utc, (time_t, struct time_structure *));
+extern time_t EXFUN (OS_encode_time, (struct time_structure *));
extern double EXFUN (OS_process_clock, (void));
extern double EXFUN (OS_real_time_clock, (void));
-extern void EXFUN (OS_process_timer_set, (clock_t first, clock_t interval));
+extern void EXFUN (OS_process_timer_set, (clock_t, clock_t));
extern void EXFUN (OS_process_timer_clear, (void));
-extern void EXFUN (OS_profile_timer_set, (clock_t first, clock_t interval));
+extern void EXFUN (OS_profile_timer_set, (clock_t, clock_t));
extern void EXFUN (OS_profile_timer_clear, (void));
-extern void EXFUN (OS_real_timer_set, (clock_t first, clock_t interval));
+extern void EXFUN (OS_real_timer_set, (clock_t, clock_t));
extern void EXFUN (OS_real_timer_clear, (void));
extern CONST char * EXFUN (OS_working_dir_pathname, (void));
-extern void EXFUN (OS_set_working_dir_pathname, (CONST char * name));
+extern void EXFUN (OS_set_working_dir_pathname, (CONST char *));
#endif /* SCM_OSENV_H */
/* -*-C-*-
-$Id: primutl.c,v 9.71 1999/01/02 06:11:34 cph Exp $
+$Id: primutl.c,v 9.72 2000/01/18 05:08:57 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
DEFUN_VOID (grow_primitive_tables)
{
Boolean result;
- long old_prim_table_size = prim_table_size;
prim_table_size = (MAX_PRIMITIVE + (MAX_PRIMITIVE / 10));
/* -*-C-*-
-$Id: psbtobin.c,v 9.57 1999/01/02 06:06:43 cph Exp $
+$Id: psbtobin.c,v 9.58 2000/01/18 05:09:07 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
unsigned long temp;
fast SCHEME_OBJECT *scan;
fast long bits_remaining, bits_accumulated;
- fast SCHEME_OBJECT accumulator, next_word;
+ fast SCHEME_OBJECT accumulator;
accumulator = 0;
bits_accumulated = 0;
END_KEYWORD ()
};
+int
DEFUN (main, (argc, argv),
int argc AND
char **argv)
setup_io ("r", "wb");
do_it ();
quit (0);
+ return (0);
}
/* -*-C-*-
-$Id: purutl.c,v 9.49 1999/01/02 06:11:34 cph Exp $
+$Id: purutl.c,v 9.50 2000/01/18 05:09:17 cph Exp $
-Copyright (c) 1987-1999 Massachusetts Institute of Technology
+Copyright (c) 1987-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "gccode.h"
#include "zones.h"
-#ifdef WINNT
+#ifdef __STDC__
#include <stdlib.h>
-#include <malloc.h>
#endif
\f
static void
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
Copyright (C) 1998 Massachusetts Institute of Technology
-$Id: terminfo.c,v 1.2 1998/07/20 04:37:36 cph Exp $
+$Id: terminfo.c,v 1.3 2000/01/18 05:09:25 cph Exp $
This file is part of GNU Emacs.
#include "oscond.h"
+#ifdef __STDC__
+#include <stdlib.h>
+#endif
+
#ifndef _IRIX
char *UP, *BC, PC;
short ospeed;
#endif
-static buffer[512];
-
/* Interface to curses/terminfo library.
Turns out that all of the terminfo-level routines look
like their termcap counterparts except for tparm, which replaces
/* -*-C-*-
-$Id: transact.c,v 1.3 1999/01/03 05:33:46 cph Exp $
+$Id: transact.c,v 1.4 2000/01/18 05:09:40 cph Exp $
-Copyright (C) 1990-1999 Massachusetts Institute of Technology
+Copyright (C) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
error (proc, "no transaction");
switch (current_transaction -> state)
{
- case committing: error (proc, "commit in progress");
- case aborting: error (proc, "abort in progress");
+ case committing: error (proc, "commit in progress"); break;
+ case aborting: error (proc, "abort in progress"); break;
+ case active: break;
}
}
/* -*-C-*-
-$Id: ymkfile,v 1.95 1999/05/11 03:34:14 cph Exp $
+$Id: ymkfile,v 1.96 2000/01/18 05:14:06 cph Exp $
-Copyright (c) 1989-1999 Massachusetts Institute of Technology
+Copyright (c) 1989-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
to prevent fgrep from reading stdin.
*/
compinit.h : $(COMPILED_SOURCES) liarc.tch xmkfile
- @echo "#*** Generating" $@ "because of" $?
+ /* @echo "#*** Generating" $@ "because of" $? */
rm -f $@
fgrep DECLARE_COMPILED_CODE liarc.tch $(COMPILED_SOURCES) | \
sed -e 's/.*:/ /' -e 's/)/);/' > $@
foo $(COMPILED_OBJECTS) : liarc.tch
liarc.tch: liarc.h $(LIARC_HEAD_FILES)
- @echo "#** Generating" $@ because of $?
+ /* @echo "#** Generating" $@ because of $? */
rm -f $@
echo "touch" > $@
.SUFFIXES: .o .cpp .s .m4
-.c.o: ; @ECHO "#** Generating" $@ because of $?
+.c.o:
+ /* @ECHO "#** Generating" $@ because of $? */
$(CC) $(CFLAGS) -c $*.c
-.c.cpp: ; @ECHO "#** Generating" $@
+.c.cpp:
+ /* @ECHO "#** Generating" $@ */
make -f xmkfile breakup
$(CC) $(CFLAGS) -E $*.c | \
RUN(breakup) | \
sed -e 's/^#.*//' -e 's/^[ ]*$$//' -e 's/^\f$$//' | \
sed -n -e '/^..*/p' > $*.cpp
-.c.s: ; @ECHO "#** Generating" $@
+.c.s:
+ /* @ECHO "#** Generating" $@ */
$(CC) $(CFLAGS) -S $*.c
-.m4.s: ; @ECHO "#** Generating" $@ because of $?
+.m4.s:
+ /* @ECHO "#** Generating" $@ because of $? */
$(M4) M4_SWITCH_SYSTEM M4_SWITCH_MACHINE $*.m4 > $*.s
-.s.o: ; @ECHO "#** Generating" $@ because of $?
+.s.o:
+ /* @ECHO "#** Generating" $@ because of $? */
$(AS) AS_SWITCH_SYSTEM AS_SWITCH_MACHINE -o $*.o $*.s
/* Source and object files */
all: bintopsb psbtobin scheme bchscheme bchdrn $(XTRA_TARGETS)
scheme xscheme : $(OBJECTS) $(SCHEME_OBJECTS)
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
rm -f $@
$(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(SCHEME_OBJECTS) $(SCHEME_LIB)
bchscheme : $(BCHOBJECTS) $(SCHEME_OBJECTS)
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
rm -f $@
$(CC) $(LDFLAGS) -o $@ $(BCHOBJECTS) $(SCHEME_OBJECTS) $(SCHEME_LIB)
bchdrn : bchdrn.o bchutl.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
rm -f $@
$(CC) $(LDFLAGS) -o $@ bchdrn.o bchutl.o
findprim : findprim.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
$(CC) $(LDFLAGS) -o $@ findprim.o
bintopsb : bintopsb.o missing.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
$(CC) $(LDFLAGS) -o $@ bintopsb.o missing.o LIB_MATH
psbtobin : psbtobin.o missing.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
$(CC) $(LDFLAGS) -o $@ psbtobin.o missing.o LIB_MATH
breakup : breakup.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
$(CC) $(LDFLAGS) -o $@ breakup.o
wsize : wsize.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
$(CC) $(LDFLAGS) -o $@ wsize.o LIB_MATH LIBS_SYSTEM LIBS_MACHINE LIB_DEBUG LIB_STANDARD
ppband : ppband.o
- @ECHO "#** Re-linking" $@ because of $?
+ /* @ECHO "#** Re-linking" $@ because of $? */
$(CC) $(LDFLAGS) -o $@ ppband.o
install: scheme bchscheme
$(CC) $(CFLAGS) -c usrdef.c
usrdef.c : $(SCHEME_SOURCES) $(SOURCES) $(OS_PRIM_SOURCES) usrdef.tch findprim xmkfile
- @ECHO "#** Re-making" $@ because of $?
+ /* @ECHO "#** Re-making" $@ because of $? */
rm -f usrdef.c
RUN(findprim) $(SCHEME_SOURCES) $(SOURCES) $(OS_PRIM_SOURCES) > usrdef.c
bchdef.c : $(SCHEME_SOURCES) $(BCHSOURCES) $(OS_PRIM_SOURCES) usrdef.tch findprim xmkfile
- @ECHO "#** Re-making" $@ because of $?
+ /* @ECHO "#** Re-making" $@ because of $? */
rm -f bchdef.c
RUN(findprim) $(SCHEME_SOURCES) $(BCHSOURCES) $(OS_PRIM_SOURCES) > bchdef.c
rm -f usrdef.c usrdef.o bchdef.c bchdef.o
scheme.tch psbmap.tch usrdef.tch :
- @ECHO "#** Resetting" $@ because of $?
+ /* @ECHO "#** Resetting" $@ because of $? */
rm -f $@
/* Create the file by opening rather than using `touch' program.
Some versions of the `touch' program don't work well when the
missing.o : config.h
BCHGCC_H = bchgcc.h oscond.h $(GC_HEAD_FILES)
-bchdmp.o : scheme.tch prims.h uxio.h osio.h osfile.h trap.h lookup.h \
+bchdmp.o : scheme.tch prims.h uxio.h osio.h osfile.h osfs.h trap.h lookup.h \
$(BCHGCC_H) fasl.h dump.c
bchdrn.o : ansidecl.h bchdrn.h
bchmmg.o : scheme.tch prims.h memmag.h ux.h $(BCHGCC_H) option.h bchdrn.h memmag.h
uxctty.o : osctty.h ossig.h
uxenv.o : ux.h osenv.h config.h
uxfile.o : osfile.h osio.h uxio.h
-uxfs.o : osfs.h
+uxfs.o : osfs.h osfile.h osio.h
uxio.o : osio.h uxio.h uxselect.h
-uxproc.o : osproc.h uxproc.h osio.h uxio.h osterm.h
-uxsig.o : config.h ux.h ossig.h osctty.h ostty.h uxtrap.h uxsig.h \
+uxproc.o : osproc.h uxproc.h osio.h uxio.h osterm.h ostop.h
+uxsig.o : config.h ux.h ossig.h osctty.h ostty.h ostop.h uxtrap.h uxsig.h \
uxutil.h critsec.h
uxsock.o : uxsock.h osio.h uxio.h prims.h
uxterm.o : osterm.h uxterm.h osio.h uxio.h ospty.h
uxtop.o : ostop.h uxtop.h osctty.h uxutil.h errors.h option.h
-uxtrap.o : scheme.tch uxtrap.h uxutil.h option.h $(GC_HEAD_FILES)
+uxtrap.o : scheme.tch uxtrap.h uxutil.h option.h ostop.h $(GC_HEAD_FILES)
uxtty.o : ostty.h osenv.h osio.h uxio.h osterm.h uxterm.h
uxutil.o : uxutil.h
pruxfs.o : osfs.h
/* -*-C-*-
-$Id: ux.h,v 1.72 1999/04/07 04:01:47 cph Exp $
+$Id: ux.h,v 1.73 2000/01/18 05:09:49 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <pwd.h>
#include <grp.h>
+#ifdef __STDC__
+#include <stdlib.h>
+#include <string.h>
+#endif
+
extern int errno;
/* These seem to be missing from versions of unistd.h */
/* -*-C-*-
-$Id: uxfs.c,v 1.18 1999/12/21 18:48:34 cph Exp $
+$Id: uxfs.c,v 1.19 2000/01/18 05:09:59 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "ux.h"
#include "osfs.h"
+#include "osfile.h"
+#include "osio.h"
#ifdef HAVE_STATFS
#include <sys/vfs.h>
/* -*-C-*-
-$Id: uxproc.c,v 1.23 1999/01/02 06:11:34 cph Exp $
+$Id: uxproc.c,v 1.24 2000/01/18 05:10:07 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "uxproc.h"
#include "uxio.h"
#include "osterm.h"
+#include "ostop.h"
#ifndef HAVE_DUP2
#include "error: can't hack subprocess I/O without dup2() or equivalent"
/* -*-C-*-
-$Id: uxsig.c,v 1.33 1999/01/02 06:11:34 cph Exp $
+$Id: uxsig.c,v 1.34 2000/01/18 05:10:22 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "ossig.h"
#include "osctty.h"
#include "ostty.h"
+#include "ostop.h"
#include "uxtrap.h"
#include "uxsig.h"
#include "uxutil.h"
#include "critsec.h"
+
+extern cc_t EXFUN (OS_ctty_quit_char, (void));
+extern cc_t EXFUN (OS_ctty_int_char, (void));
+extern cc_t EXFUN (OS_ctty_tstp_char, (void));
+extern cc_t EXFUN (OS_ctty_disabled_char, (void));
+extern void EXFUN (tty_set_next_interrupt_char, (cc_t c));
\f
/* Signal Manipulation */
case dfl_stop:
bind_handler ((scan -> signo), sighnd_stop);
break;
+ case dfl_ignore:
+ break;
}
scan += 1;
}
/* -*-C-*-
-$Id: uxsock.c,v 1.22 2000/01/18 02:52:40 cph Exp $
+$Id: uxsock.c,v 1.23 2000/01/18 05:10:32 cph Exp $
Copyright (c) 1990-2000 Massachusetts Institute of Technology
#if 0
extern struct servent * EXFUN (getservbyname, (CONST char *, CONST char *));
extern struct hostent * EXFUN (gethostbyname, (CONST char *));
+extern char * EXFUN (strncpy, (char *, CONST char *, size_t));
#endif
\f
Tchannel
{
#ifdef HAVE_UNIX_SOCKETS
int s;
- extern char * EXFUN (strncpy, (char *, CONST char *, size_t));
Tchannel channel;
transaction_begin ();
/* -*-C-*-
-$Id: uxterm.c,v 1.26 1999/01/02 06:11:34 cph Exp $
+$Id: uxterm.c,v 1.27 2000/01/18 05:10:50 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "uxio.h"
#include "ospty.h"
+extern long EXFUN (arg_nonnegative_integer, (int));
+extern long EXFUN (arg_index_integer, (int, long));
+
#if defined(HAVE_TERMIOS) || defined(HAVE_TERMIO)
#ifndef ISTRIP
/* -*-C-*-
-$Id: uxtop.c,v 1.22 1999/04/07 04:01:49 cph Exp $
+$Id: uxtop.c,v 1.23 2000/01/18 05:11:00 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
extern void EXFUN (UX_reset_terminals, (void));
extern void EXFUN (execute_reload_cleanups, (void));
+extern cc_t EXFUN (OS_ctty_quit_char, (void));
extern void EXFUN (UX_ctty_save_external_state, (void));
extern void EXFUN (UX_ctty_save_internal_state, (void));
extern void EXFUN (UX_ctty_restore_internal_state, (void));
/* -*-C-*-
-$Id: uxtrap.c,v 1.28 1999/01/02 06:11:34 cph Exp $
+$Id: uxtrap.c,v 1.29 2000/01/18 05:11:09 cph Exp $
-Copyright (c) 1990-1999 Massachusetts Institute of Technology
+Copyright (c) 1990-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "uxtrap.h"
#include "uxutil.h"
#include "option.h"
+#include "ostop.h"
extern CONST char * EXFUN (find_signal_name, (int signo));
extern void EXFUN (UX_dump_core, (void));
}
else
{
- long primitive_address =
- ((long) (Primitive_Procedure_Table[OBJECT_DATUM (primitive)]));
(trinfo . state) = STATE_PRIMITIVE;
(trinfo . pc_info_1) = primitive;
(trinfo . pc_info_2) =
{
/* In compiled code. */
SCHEME_OBJECT * block_addr;
- SCHEME_OBJECT * maybe_free;
block_addr =
(pc_in_builtin
? ((SCHEME_OBJECT *) NULL)
/* -*-C-*-
-$Id: uxutil.c,v 1.6 1999/01/02 06:11:34 cph Exp $
+$Id: uxutil.c,v 1.7 2000/01/18 05:11:28 cph Exp $
-Copyright (c) 1990, 1991, 1999 Massachusetts Institute of Technology
+Copyright (c) 1990, 1991, 1999, 2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "ux.h"
#include "uxutil.h"
#include <ctype.h>
+
+extern void EXFUN (terminal_state_raw, (Ttty_state *, int));
\f
static CONST char *
DEFUN (char_description_brief, (c), unsigned char c)
/* -*-C-*-
-$Id: x11base.c,v 1.73 1999/01/02 06:11:34 cph Exp $
+$Id: x11base.c,v 1.74 2000/01/18 05:11:37 cph Exp $
-Copyright (c) 1989-1999 Massachusetts Institute of Technology
+Copyright (c) 1989-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#else
termination_eof ();
#endif
+ return (0);
}
static int
#else
termination_eof ();
#endif
+ return (0);
}
typedef int EXFUN ((* x_error_handler_t), (Display *, XErrorEvent *));
/* -*-C-*-
-$Id: x11term.c,v 1.25 1999/01/02 06:11:34 cph Exp $
+$Id: x11term.c,v 1.26 2000/01/18 05:11:46 cph Exp $
-Copyright (c) 1989-1999 Massachusetts Institute of Technology
+Copyright (c) 1989-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
char * map_ptr = (XTERM_CHAR_LOC (xw, index));
(*map_ptr) = c;
(XTERM_HL (xw, index)) = hl;
- XTERM_DRAW_CHARS (xw, x, y, map_ptr, 1, (XTERM_HL_GC (xw, (xw, hl))));
+ XTERM_DRAW_CHARS (xw, x, y, map_ptr, 1, (XTERM_HL_GC (xw, hl)));
if (((XW_CURSOR_X (xw)) == x) && ((XW_CURSOR_Y (xw)) == y))
{
(XW_CURSOR_VISIBLE_P (xw)) = 0;