Commit Graph

311 Commits

Author SHA1 Message Date
shivers aed6c163b8 Hacked I/O system so that ports set/clear their
fd's CLOEXEC bit when they become unrevealed/revealed.
1996-09-12 01:42:58 +00:00
shivers dfda637610 Added INITIALIZE-VECTOR 1996-09-12 01:39:18 +00:00
shivers ae2b8700e5 (chdir) now correctly changes to the home dir, rather than to "." 1996-09-08 09:14:40 +00:00
shivers d16ad942c0 AWK now pre-compiles its regexps outside the main loop. 1996-09-08 09:08:47 +00:00
shivers 9610aeab66 Changed the -s- option to the -s<num> option. 1996-08-30 08:36:34 +00:00
shivers 46aa9a9424 Added -s- option. 1996-08-30 07:16:53 +00:00
shivers d8d1758d11 Hacked file-loading code so that we could load from ports. This to support
the new -s- switch.
1996-08-30 07:15:14 +00:00
shivers 0d7befeb82 Fixed up some small bugs (e.g., pid -> proc) 1996-08-29 08:35:58 +00:00
shivers aabe436bef I changed the meta-arg parsers (C and Scheme) so that newline *always*
terminates an arg, even if it is an empty arg. Consistency. KISS.
1996-08-29 08:35:25 +00:00
bdc 4961de1b9b updated with rule for scsh/scsh.vm 1996-08-25 07:54:14 +00:00
bdc b5a653f1f3 cleaned up static linker code 1996-08-24 09:27:47 +00:00
shivers d472115b34 Retry syscalls when interrupted. 1996-08-24 08:52:34 +00:00
shivers 75bad52dfe Trivial documentation addition. 1996-08-24 07:52:41 +00:00
shivers 996ee5db33 Hacked so that errno/intr error returns cause retries. 1996-08-24 07:36:50 +00:00
bdc 060badffa7 yet another scratch version of the static heap stuff 1996-08-24 02:03:27 +00:00
bdc c4927cc255 an attempt to export new things from the vm without modifiying it; scrapped 1996-08-24 02:02:24 +00:00
bdc 3b0a2e2fa5 the pre scsh static linker 1996-08-24 02:00:47 +00:00
shivers 1df0338fb0 I removed DEFINE-SIMPLE-ERRNO-SYSCALL because it is simply a special
case of DEFINE-ERRNO-SYSCALL. However, this change causes simple errno
syscalls to return 0 values, which blows up I/O methods used in S48's
extensible port system, so I had to hack three or four of those methods
to return a random value (#F).
1996-08-23 23:29:51 +00:00
shivers 464f44f2a3 Brian was using error-checking code of the form
(CASE ERROR ((ERRNO/INTR) ...) ...)
But CASE doesn't evauate its keys, so this didn't work. I switched it
to COND's.

We should import my conditional macros, which includes an evaluating-key
CASE.
	-Olin
1996-08-23 21:43:22 +00:00
shivers 975278b58b Removed ERRNO/DEADLK and ERRNO/NOLCK from extra-errno's list -- they are Posix! 1996-08-23 03:21:14 +00:00
shivers 84c705fcc7 New signal-handler code. 1996-08-22 20:13:14 +00:00
bdc 509fb5c6d1 fixed another bug in clean target 1996-08-22 19:46:07 +00:00
shivers e124c6906c Export names from sighandlers1.c. 1996-08-22 19:42:59 +00:00
shivers 66be6be3d5 Typo: clear-cig -> clean-cig 1996-08-22 17:03:05 +00:00
bdc 6ea9a75721 updated static linker script; can handle scsh.image; improved autoconf macros 1996-08-22 07:31:36 +00:00
shivers 6d8929b608 defrec.scm -- trivial doc bug in comments.
jcontrol1.c -- signal handler stuff

signal handler hacking -- added Unix signals to VM's interrupt set.
1996-08-21 21:29:59 +00:00
shivers 3595da3986 signal handler hacking -- added Unix signals to VM's interrupt set. 1996-08-21 21:28:40 +00:00
shivers dd40a220df signal handler and job control hacking. 1996-08-21 21:27:48 +00:00
shivers 7a1e5a6da7 Keep bugfixes here. 1996-08-21 21:19:23 +00:00
shivers 7e184be69d Added documentation for new command-line switches. 1996-08-21 20:52:21 +00:00
bdc f1dc00dcf6 a working scsh/static.scm and all the trimmings 1996-08-19 08:29:48 +00:00
shivers bcdc349bcf New, improved machinery for handling optional args. 1996-04-19 18:55:31 +00:00
shivers c34f9d6882 Added LET-OPT machinery to system. 1996-04-19 18:51:08 +00:00
shivers ea45fca8ef Hacked the system to use the new LET-OPT optional argument machinery,
LET-OPTIONAL, LET-OPTIONAL*, and :OPTIONAL. The new macros are
faster and easier to read than the old PARSE-OPTIONALS and OPTIONAL-ARG
procedures.
1996-04-19 18:39:14 +00:00
shivers 6b42e9d7aa 1. Hacked fork so that if it fails and the zombie autoreap policy is 'early,
we do a zombie-reap and then retry the fork. This way, if the fork fails
because the process table filled up, you can clean up and win.

It's not the right answer, but the right answer depends on handling SIGCHLD
interrupts, so we can't implement it now.

2. Hacked the optional arg handling to use the new LET-OPT machinery.
1996-04-19 18:26:31 +00:00
shivers 1a0d6a2af4 Fixed delimited readers -- there was confusion about what the handle-delimiter
arg was. It now defaults uniformly to 'trim.
1996-04-19 05:51:37 +00:00
bdc 16c0d2ef3f *** empty log message *** 1995-12-03 01:00:20 +00:00
shivers 2c9e06d6ae Changed char to int so non-ASCII chars wouldn't be sign-extended -- was
blowing char-set test in skip_chars.
	-Olin
1995-11-20 06:32:02 +00:00
shivers acaaedd035 CHAR-SET-CONTAINS? had extra code to make sure it did not work when
applied to a non-ASCII char. Now fixed.
1995-11-20 06:20:12 +00:00
shivers 755913967b Added native-code support for SKIP-CHAR-SET. 1995-11-20 04:15:04 +00:00
bdc 30ed9fdf0c *** empty log message *** 1995-11-05 02:55:04 +00:00
bdc 702f0126c5 FreeBSD mods, mostly in comments 1995-11-04 21:13:42 +00:00
bdc 4a47a768c6 *** empty log message *** 1995-11-04 21:10:51 +00:00
bdc 66cd45fa90 *** empty log message *** 1995-11-04 20:55:34 +00:00
bdc 1265c62db8 *** empty log message *** 1995-11-04 05:15:07 +00:00
bdc 7e41e4e5ad *** empty log message *** 1995-11-04 05:04:59 +00:00
bdc 7d1bb41214 *** empty log message *** 1995-11-04 04:41:53 +00:00
bdc 12d37bc045 *** empty log message *** 1995-11-04 04:31:50 +00:00
bdc 772f47e595 *** empty log message *** 1995-11-04 04:28:27 +00:00
bdc 4da524bd96 *** empty log message *** 1995-11-03 00:38:31 +00:00