bdc
0225bb0bf3
user contributed file
1997-04-05 22:15:38 +00:00
shivers
db69cd677b
Some functions that were passed string "out" paramters (char**)'s were
...
neglecting to assign them in error cases. We'd return from the C function
into the cig C stub with random garbage still in these pointers. The
string rep converters would then treat this garbage as a real pointer to
be copied into malloc'd storage, and havoc would result.
I fixed the code to assign 0 to the pointers in error cases. I should fix
cig to pre-initialise out parameters. The only real problem code was in
userinfo1.c, but I scanned all the sources, and fixed a few suspicious cases
here and there as well.
1997-04-04 20:49:55 +00:00
shivers
1a1950d2f5
Fixed typo bug in set-file-group.
1997-04-02 20:12:33 +00:00
shivers
0e28399b12
Changed regexp-substring so that unmatched submatches return #f instead of
...
raising an error.
1997-03-28 20:55:23 +00:00
shivers
230263ee0d
Fixed an arity bug in %set-unix-signal-handler's call to
...
%%set-unix-signal-handler.
1997-03-10 23:46:42 +00:00
shivers
8d7dee0bfa
*** empty log message ***
1997-03-10 04:57:18 +00:00
shivers
417b6046f8
Early autoreaping now done via SIGCHLD signal handler.
...
Ignored signals were done by putting a noop handler on the signal.
This could screw up passing ignores across execs.
Now, when you set an S48 interrupt handler to #f, we pass this through
to Unix.
1997-03-09 07:28:20 +00:00
shivers
2773441f05
Rewrote SLEEP (and added SLEEP-UNTIL) so that it doesn't hang up signal
...
delivery in C code.
1997-03-09 07:22:41 +00:00
bdc
101a61082f
solaris 2.5 tested
1997-03-09 02:37:06 +00:00
shivers
e989a744e4
Had to shuffle packages due to broken package dependencies.
...
The whole thing is a disaster and should be completely re-factorised.
1997-02-27 04:50:57 +00:00
shivers
6a7ecc38a1
Added #ifdef linux conditionalisation to the linux-specific fixup code.
1997-02-27 04:49:28 +00:00
shivers
b980922f0d
Fixed bug in stdio->stdports -- it was using fdes->inport to make the
...
output ports.
1997-02-26 22:21:48 +00:00
shivers
0229b80a6c
Linux-specific support.
1997-02-26 22:18:29 +00:00
shivers
b02ac4dc83
hacked in a gross fix for linux bug. The problem is that
...
linux stdio functions retry when interrupted, instead of returning
errno=EINTR. linux/libansi.c now has a #include "fix_stdio.c"
in it to get the fixup code included. This is very bogus.
1997-02-26 20:38:39 +00:00
shivers
66735d9c9e
fdports1.c: hacked in a gross fix for linux bug. The problem is that
...
linux stdio functions retry when interrupted, instead of returning
errno=EINTR.
regexp: New regexp-substitute function.
scsh-interfaces: Fixed a typo in a type decl.
1997-02-26 20:37:53 +00:00
bdc
9ccd709a52
spelling error
1997-02-21 08:51:06 +00:00
shivers
630f678236
Added a few bits.
1997-02-19 23:29:41 +00:00
shivers
bad528299e
Ripped out now-useless cloexec_unrevealed.
1997-02-19 23:28:38 +00:00
shivers
bf449b53b7
Added types to decls, possibly other stuff.
1997-02-19 23:24:53 +00:00
shivers
06eb60980d
Upgraded regexp system.
1997-02-19 23:23:48 +00:00
shivers
25aa2b845a
SIGIO and SIGPOLL have value 29, not 23.
1997-02-19 23:19:37 +00:00
shivers
a8e25a6827
Corrected spelling error in comment.
1997-02-19 23:15:27 +00:00
bdc
ae81b06f85
host-info bug
1996-12-02 22:18:25 +00:00
shivers
e945b99adf
Replaced _POSIX_PATH_MAX with its value, 255, because HP-UX didn't
...
have this POSIX-required symbol. ???
1996-11-12 11:44:20 +00:00
shivers
faa08159d0
The cwd code nows starts out with the filename buffer initialised
...
to length _POSIX_PATH_MAX.
1996-11-11 20:56:52 +00:00
shivers
2f7c39be3f
-s<num> is now -sfd <num> -- more consistent with general switch design.
1996-11-11 19:21:25 +00:00
shivers
47c2eea2dd
Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and
...
SET-RECORD-LOCK-NOBLOCK to SET-RECORD-LOCK-NO-BLOCK.
The former was always documented to be
OPEN/NON-BLOCKING
and the latter isn't exported in any event.
1996-11-11 18:52:19 +00:00
shivers
4dd24741a8
Minor bugfix -- Arranged to export set-enabled-interrupts! as
...
set-enabled-interrupts.
1996-11-11 17:05:54 +00:00
shivers
c0ab08bd2c
Removed ! suffix from SET-INTERRUPT-HANDLER and SET-ENABLED-INTERRUPTS.
...
I'm trying to be consistent on this issue, but not very successfully.
1996-11-11 16:21:53 +00:00
bdc
d9bf36e0bd
added scsh/scsh.vm to the ignore list
1996-11-11 01:10:38 +00:00
bdc
8e3073352a
updated for next minor release
1996-11-10 20:51:15 +00:00
shivers
454808a9cd
Changed lock-region to use proc objects instead of pids, and fixed a
...
bug in UNLOCK-REGION.
1996-11-10 13:59:58 +00:00
shivers
ea9745ee2f
Interrupt system fixed up and installed.
1996-11-10 13:58:46 +00:00
shivers
7e66a68afa
- Interrupt handlers really installed and documented.
...
- File locking fixed to use proc objects instead of pids, and bugs in code
and documentation fixed.
1996-11-10 13:56:13 +00:00
shivers
52cd685e9a
Truth-in-advertising documentation: confession is good for the soul.
1996-11-09 23:13:35 +00:00
bdc
02dd0ebf8d
fixed signals-ignored-by-default for ultrix irix
1996-11-08 20:42:30 +00:00
shivers
5761b6ce03
Fixed up the sighandler code some.
1996-11-07 15:59:31 +00:00
bdc
1fb6c3634b
cig stuff to be updated
1996-11-04 18:14:02 +00:00
bdc
85d516da9b
updated files for 0.4.4 release
1996-11-04 01:58:53 +00:00
bdc
d0fef5a49c
fix for sunos 4.x build error because of non-standard declarations of setgid and setguid
1996-11-04 01:31:01 +00:00
bdc
2fe3ec94a7
fix for signals-ignored-by-default for aix
1996-11-04 01:30:20 +00:00
bdc
99b82763bb
fix for fileno on solaris 2.5
1996-11-04 01:29:46 +00:00
bdc
a7e3221b90
signals-ignored-by-default for nextstep
1996-11-02 00:10:32 +00:00
bdc
5d8c6318a2
fixed cleanup problem
1996-11-01 23:34:47 +00:00
bdc
98af814b97
where did that space come from?
1996-11-01 17:37:03 +00:00
bdc
0d6cbfb5fa
reworked argument parsing to make in a littl cleaner i hope; most C compilation now done in background
1996-11-01 07:40:21 +00:00
shivers
26b8de258e
Startup and top changed so that -e entry points get the whole command line,
...
including the program name.
syscalls.scm has a trivial documentation upgrade.
1996-10-31 20:18:11 +00:00
bdc
e45e9a6b0d
added first real command line interface
1996-10-30 05:58:13 +00:00
shivers
81c9cebfc1
Removed debugging msg. -Olin
1996-10-16 17:09:56 +00:00
shivers
14f8b65a74
read_fdport_substring() didn't reset the port's peek-char to #F when
...
consuming it. Reported by JSC 10/16/96, with fix.
1996-10-16 16:37:51 +00:00
bdc
6f951db725
jsc repotrted else spelled wrong
1996-10-10 23:10:07 +00:00
bdc
49c350a807
updated linux signals submitted by jsc
1996-10-08 22:37:19 +00:00
bdc
89f6fed034
service-info using a port number is broken for little endian machines
1996-10-03 17:49:20 +00:00
bdc
c4c6a28385
fixed for aix 4 now
1996-10-02 15:30:34 +00:00
bdc
871cfe32b5
problem with path marshalling with the unix domain protocol
1996-10-02 05:24:56 +00:00
bdc
7223f37439
oops
1996-10-02 05:00:04 +00:00
bdc
16ec4521b5
updated losing sunos signals.scm
1996-10-02 04:57:29 +00:00
bdc
78e07c9296
solaris bug with set-tty-info
1996-10-02 01:17:07 +00:00
bdc
2deadc5f66
implement system dependant missing parts of the ANSI C Library standard
1996-10-02 01:13:55 +00:00
bdc
00b7fcaa3d
added signals-ingored-by-default for solaris
1996-09-30 16:11:32 +00:00
bdc
0e67214944
just following orders
1996-09-28 00:23:08 +00:00
bdc
4e05a0aaf1
Solaris users with BIND installed lose MAXHOSTNAMELEN
1996-09-26 20:18:35 +00:00
bdc
38ac713c41
socket-address->unix-address returns function not address
1996-09-26 20:08:06 +00:00
bdc
a06f2a9e34
minor tweak from Lewis Girod
1996-09-26 19:30:22 +00:00
bdc
a61145fa6a
updated regexp
1996-09-24 01:29:51 +00:00
shivers
759e929fa8
Fixed a syntactically illegal LET.
1996-09-23 04:52:03 +00:00
shivers
2ecccd3546
alist->env didn't work, because it was passing a list, not a vector,
...
to the %INSTALL-ENV procedure. Reported by Mike Sperber 9/19/96.
1996-09-19 22:22:46 +00:00
shivers
d15cfee879
Fixed a minor doc bug.
1996-09-19 22:20:37 +00:00
shivers
4dc9707d7b
Added TTY?, TTY-FILE-NAME, and CONTROL-TTY-FILE-NAME (aka isatty(),
...
ttyname(), and ctermid()). We are now 100% Posix.
1996-09-13 01:45:40 +00:00
shivers
b64ae78af7
AUTOREAP-POLICY's optional argument wasn't.
1996-09-13 01:28:10 +00:00
shivers
241fe9c520
Added ctermid, istty, & ttyname -- we are now 100% Posix.
1996-09-12 20:17:10 +00:00
shivers
391365171f
moved signals1.h
1996-09-12 06:31:17 +00:00
shivers
2a34e9d53a
Moved signals1.h to OS-independent directory.
1996-09-12 06:01:30 +00:00
shivers
c36b4abf3f
Signal-handler support
1996-09-12 06:00:19 +00:00
shivers
6e52fcbdee
Signal-handler support.
1996-09-12 05:22:56 +00:00
shivers
c50650d7eb
Moving signals1.h to OS-independent code
1996-09-12 04:58:58 +00:00
shivers
8fc03c01c8
- Improved CLOEXEC support for unrevealed ports.
...
- sleazy-call/fdes useage introduced for speed.
- fcntl support added.
1996-09-12 04:53:36 +00:00
shivers
894d4c32e9
Derived files -- why are these stored in CVS?
1996-09-12 04:48:35 +00:00
shivers
5aa87bc9fe
Signal-handler support.
1996-09-12 04:43:30 +00:00
shivers
a44f8882e6
Signal-handler support.
1996-09-12 04:43:16 +00:00
shivers
b4909649d4
Signal-handler support.
1996-09-12 04:35:43 +00:00
shivers
b48e4874c5
Sig-handler support
1996-09-12 04:34:28 +00:00
shivers
0716fc06cd
signal-handler support
1996-09-12 04:29:59 +00:00
shivers
8adc0d3f5b
fcntl support, signal-handler support, regexp substitution,
...
new initialize-vector utility
1996-09-12 04:29:26 +00:00
shivers
f948e51831
Added regexp compilation
1996-09-12 04:26:13 +00:00
shivers
e84440fecd
Added define-enum-constants macro.
...
(And cleaned up all the enum constants in the OS-dependent subdirs)
1996-09-12 03:33:32 +00:00
shivers
70a1342cef
Hacked I/O system so that ports set/clear their
...
fd's CLOEXEC bit when they become unrevealed/revealed.
1996-09-12 01:43:53 +00:00
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
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
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
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
shivers
e124c6906c
Export names from sighandlers1.c.
1996-08-22 19:42:59 +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
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
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
0dd77af844
*** empty log message ***
1995-11-02 02:39:13 +00:00
bdc
3cc0d1c5d7
*** empty log message ***
1995-11-02 02:29:05 +00:00
bdc
ac54f7bf2c
*** empty log message ***
1995-11-02 01:51:32 +00:00
bdc
507631b689
sperber's strerror fix
1995-11-01 23:00:57 +00:00
bdc
d30d0480f7
*** empty log message ***
1995-11-01 19:42:35 +00:00
bdc
c749104691
*** empty log message ***
1995-11-01 08:50:15 +00:00
bdc
1965c0f4b4
*** empty log message ***
1995-11-01 08:19:46 +00:00
bdc
79f2098c6f
*** empty log message ***
1995-11-01 03:52:02 +00:00
bdc
f872a245b5
*** empty log message ***
1995-11-01 01:45:25 +00:00
bdc
d6991813b7
*** empty log message ***
1995-11-01 01:21:26 +00:00
bdc
eed17d276f
finalized tty-consts.scm baud format
1995-11-01 01:12:42 +00:00
shivers
f83504cc00
No longer export baud-rate encodings.
1995-11-01 00:19:30 +00:00
bdc
fd3c209841
*** empty log message ***
1995-10-31 23:41:55 +00:00
bdc
31f91e754b
nearly final 0.4.0 hax
1995-10-31 23:41:17 +00:00
bdc
3a6b33db27
*** empty log message ***
1995-10-31 23:29:37 +00:00
bdc
12874c0edd
even more 0.4.0 hacks
1995-10-31 23:16:31 +00:00
bdc
965a0da2f1
moved static1 contents into begin
1995-10-31 22:39:49 +00:00
bdc
675f4c7746
*** empty log message ***
1995-10-31 22:21:58 +00:00
bdc
37a38ee185
*** empty log message ***
1995-10-31 22:06:02 +00:00
bdc
9e39aeaae4
0.4.0 hacks
1995-10-31 22:04:59 +00:00
bdc
b3dc61dae4
*** empty log message ***
1995-10-31 21:57:39 +00:00
bdc
946798634a
*** empty log message ***
1995-10-31 21:52:04 +00:00
bdc
2f89a2be7d
*** empty log message ***
1995-10-31 21:35:45 +00:00
bdc
02f9587e06
*** empty log message ***
1995-10-31 21:20:46 +00:00
bdc
27602d21de
*** empty log message ***
1995-10-31 21:19:22 +00:00
bdc
6e92a37c81
*** empty log message ***
1995-10-31 21:16:21 +00:00
bdc
611ac55bb7
after sommerfelds fixes
...
now added error arg printing
for mor readable errors
1995-10-31 20:22:27 +00:00
bdc
846439590d
*** empty log message ***
1995-10-31 17:44:11 +00:00
bdc
417048b418
*** empty log message ***
1995-10-31 17:01:48 +00:00
bdc
e6bdd7a001
*** empty log message ***
1995-10-31 08:33:57 +00:00
bdc
278322565a
*** empty log message ***
1995-10-31 08:01:43 +00:00