Commit Graph

21 Commits

Author SHA1 Message Date
olin-shivers 1b0a6684c0 Fixed alist->env-vec to coerce a value that's a list of strings to a
colon-separated string of the elements, per the spec. Oops.
2001-06-02 17:47:52 +00:00
shivers 7e1ad158c7 Added "See file COPYING." to all the copyright notices, so we can
do the open-source thing w/o larding up the source code.
1999-08-06 13:28:52 +00:00
shivers 96d9b0e068 Checking in a slew of systemic changes:
- Switching scsh over to the SRE regexp system.
    - Upgraded string & character handling
    - Switching code over to list-lib SRFI names. Some switchover to
      probably new string-lib SRFI names, though that SRFI hasn't happened,
      so it's probably a waste of time at the moment to stress out about it.
    - General switching from "reduce-" lexeme to "fold-" lexeme.
	-Olin

A per-file breakdown of changes:
    ccp.scm		New
    char-set.scm	New features
    stringlib.scm	New
    stringpack.scm	New

    awk.scm		SRE
    filemtch.scm	SRE string-lib
    fname.scm		string-lib
    fr.scm		SRE string-lib
    glob.scm		SRE
    procobj.scm		list-lib
    rdelim.scm		SRE
    re.c		SRE killed
    re.scm		SRE killed
    re1.c		SRE moved to rx/ dir
    re1.h		SRE moved to rx/ dir
    rx/...		SRE General fitting-it-in to the upgraded scsh.
    scsh-interfaces.scm
    scsh-package.scm
    scsh.scm		type-check loophole added; string-lib; list-lib
		    	reduce-port -> foldl-port

    syscalls.scm	string-lib; diked out unused MATCH-FILES code
    syscalls.c

    utilities.scm	string-lib; {any?,every?} -> {any,every}
    procobj		list-lib
1999-07-11 20:38:42 +00:00
bdc 17695ee207 Updated version to 0.5.2
Incorporated Windows NT support via cygwin32
1999-06-21 04:35:42 +00:00
shivers 1a1950d2f5 Fixed typo bug in set-file-group. 1997-04-02 20:12:33 +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
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
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
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
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 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 ae2b8700e5 (chdir) now correctly changes to the home dir, rather than to "." 1996-09-08 09:14:40 +00:00
shivers 996ee5db33 Hacked so that errno/intr error returns cause retries. 1996-08-24 07:36:50 +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 84c705fcc7 New signal-handler code. 1996-08-22 20:13: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 737ebc5afe Added SET-CURRENT-INPUT-PORT! and friends.
Rehacked stdio/stdport sync procedures.
1995-10-28 22:12:17 +00:00
shivers f244b7532f Added BECOME-SESSION-LEADER. 1995-10-26 13:35:40 +00:00
shivers 7c90829350 Added a whole bunch of .h files describing the module structure of the C
files. These files mostly mediate between the C source (export) and
the corresponding C stub files (import) generated by the Scheme files
calling the C routines.

This provided much better argument type checking that before; lots of
small bugs were caught.

Also added const keywords wherever I could find a reasonable place
to improve error detection and efficiency.

Tuned up the makefile to reflect all of this structure. Its dependencies
were pretty out-of-date as it was. It could probably use further work.
1995-10-22 12:34:53 +00:00
shivers 3e52c5100b - Fixed errno-error calls to include the syscall's args. This should greatly
improve the quality of the error messages.

- Fixed file-match so that if a filter procedure raises an error condition,
  it is caught and treated as a match failure (as if the procedure returned
  #f). This means you no longer get blown out of the water by
    (file-match "." #f file-directory?)
  if the cwd contains a dangling symlink, for example.

- Added set-file-times (utime).

- Caught a bug in an unused arm of the define-errno-syscall macros (rest arg
  case).

- Perhaps one or two other minor tweaks.
1995-10-21 12:07:25 +00:00
bdc 2302efe24e *** empty log message *** 1995-10-14 03:34:21 +00:00