Commit Graph

295 Commits

Author SHA1 Message Date
steven-jenkins 90445340fe GC_PROTECT'ed the necessary variables (specifically, where >1 arg to
a function 'may GC')
2002-02-12 13:43:37 +00:00
steven-jenkins 424109a452 GC_PROTECT'ed the necessary variables (specifically, where >1 arg to
a function 'may GC')
2002-02-12 13:38:20 +00:00
steven-jenkins 96b6558a78 GC_PROTECT'ed the necessary variables (specifically, where >1 arg to
a function 'may GC')
2002-02-12 13:37:36 +00:00
mainzelm e316ce1109 + Fixed bug in set-process-group
+ include <string.h>
+ save errno before starting timer interrupts
2002-02-11 17:32:20 +00:00
steven-jenkins 65407be26c GC_PROTECT'ed the necessary variables (specifically, where >1 arg to
a function 'may GC')
2002-02-11 15:38:35 +00:00
mainzelm 6158e7a964 Fixed memory leak. 2002-02-07 10:11:20 +00:00
mainzelm 3ce5de8758 If $HOME is unset, consult (user-info (user-uid)) for the value of home-directory. 2002-02-06 15:17:19 +00:00
mainzelm 7acad294ac + Don't raise an error on ECHILD since ECHILD just indicates that
there are no childs ready.

+ Squirrel away errno before starting alarm interrupts
2002-02-06 09:47:27 +00:00
mainzelm 07f796459e Align the resource before changing it in with-resource*. 2002-01-29 08:12:09 +00:00
sperber 369bc08f2e GC protection fix for waitpid.
Note that there are probably more bugs similar to this one.
2002-01-27 20:20:09 +00:00
mainzelm 4406337368 Stop timer interrupts before doing a execve. 2002-01-24 17:11:48 +00:00
mainzelm 4ba631031d num-ttychars (value of NCCS) seems to be 32 not 19.
This fixes #505155.
2002-01-24 08:18:43 +00:00
mainzelm 665928fed1 Return 0 exit status for -c and -e. 2002-01-24 08:14:42 +00:00
mainzelm cad703672f Appropriate error message if retrying connect failed. 2002-01-23 15:06:08 +00:00
mainzelm 2da600ffbb Replaced // comments. 2002-01-11 10:13:58 +00:00
sperber fbb912c9eb Pass SYSCALL argument to ERRNO-ERROR. 2002-01-10 12:29:36 +00:00
mainzelm 30187cf93f Replace s48_raise_string_os_error by s48_raise_string_os_error_X
for compatibility with import-os-error.
2002-01-10 10:08:14 +00:00
sperber 4328a9047c ... and here's the first post-0.6 bug fix:
Remove LOG_LPR from list of syslog levels.
2002-01-10 09:53:57 +00:00
mainzelm a9d80cba6d Added generic configuration. 2002-01-09 15:07:18 +00:00
mainzelm d31eccb605 Check if SIGINFO and SIGPWR are the same (HP-UX 10.2). 2002-01-09 12:59:13 +00:00
mainzelm 06ce3e41e6 + Use setreu/gid if seteu/gid is not avaiable
+ Don't declare tzname extern for cygwin
2002-01-09 11:25:02 +00:00
mainzelm a8fa33646a Added dummy declarations for getnetbyaddr and getnetbyname. 2002-01-09 10:31:45 +00:00
mainzelm bf94408228 Merged in change from old tree. Original log message:
date: 2001/05/27 23:57:07;  author: bdc;  state: Exp;  lines: +0 -4
Updated with fix for latest cygwin
2002-01-09 08:04:08 +00:00
sperber cf3eb3d822 Add BREAK-DOT-LOCK to DOT-LOCKING-INTERFACE. 2002-01-07 13:11:55 +00:00
sperber 50b49a7068 Made arguments to OBTAIN-DOT-LOCK optional and supply sensible
defaults.
All timings are now in seconds.
Add interface procedure BREAK-DOT-LOCK.
Indicate broken lock by BROKEN return value from OBTAIN-DOT-LOCK.
2002-01-07 13:11:26 +00:00
mainzelm 5aeb88d72e Derelease bufpol/line 2002-01-03 10:23:19 +00:00
mainzelm 3eec9a6429 No longer an alpha version. 2002-01-03 10:16:40 +00:00
sperber 29f7483d60 Basically reimplement to my idea of dot-locking.
(Sorry, Martin ...)
2001-12-27 17:29:17 +00:00
mainzelm 284d89fe12 Added hook to align cwd and umask for the S48 system. 2001-12-19 09:14:15 +00:00
mainzelm 6643c70391 Fixed check for stopped child. 2001-12-17 15:39:22 +00:00
mainzelm 8f3c22b40d + New names for dot-locking procedures.
+ Optional retry interval and counter for obtain-dot-lock
+ Exported crypt
2001-12-17 09:24:05 +00:00
mainzelm 2e5fd56011 Minor clean-up. 2001-12-07 11:28:37 +00:00
mainzelm 023caecf53 Added library directory path search command-line switches.
Unlike 0.5.3 I don't allow symbols in SCSH_LIB_DIRS (See bug #489901).
2001-12-07 11:24:30 +00:00
mainzelm a1f17bb13d Use fork-thread in fork/thread. 2001-12-07 09:59:48 +00:00
mainzelm 2fa5e3f693 Flush only the open ports. 2001-12-07 09:59:13 +00:00
mainzelm 69adcc41ba + reworked wait
+ wait-process-group does no longer a blocking wait(2)
2001-12-05 14:45:35 +00:00
mainzelm 3620d702f0 Use make-preserved-thread-fluid for the process resources.
Fixed indentation.
2001-12-05 08:34:37 +00:00
sperber 136e313af7 New implementation of (no-inheritance) thread-local cells and thread
fluids.

New implementation of syslog.

Both are to be compatible with what's actually probably going into
Scheme 48.
2001-12-03 15:21:46 +00:00
sperber b5180b35af Make naming consistent with current Scheme 48:
argtype -> argument_type
argnumber -> argument_number
2001-12-03 15:19:48 +00:00
mainzelm 6e7ae9448f Initialize session and user-environment correctly. 2001-11-27 18:11:38 +00:00
mainzelm 0602e0707f Flush all ports before exit. 2001-11-27 17:10:07 +00:00
mainzelm abf7c53cc5 Added channel->port. 2001-11-27 11:08:30 +00:00
mainzelm d7f602982e Use scheme-exit-now instead of exit. 2001-11-21 14:20:16 +00:00
mainzelm 48067a7a2a Removed some constants which are commented out in netconst.scm from the exports. 2001-11-08 13:30:27 +00:00
mainzelm 6671ff0e04 + Fixed small race condition problem in wait. There are still problems
when lots of processes are forked
+ Added optional name parameter in run-as-long-as
2001-11-08 08:14:37 +00:00
mainzelm d6a7f7c303 Changed default value of *temp-file-template*: First $TMPDIR is
consulted, if it is unset we use "/var/tmp".
2001-10-23 08:07:53 +00:00
mainzelm 5e3f793326 Prevent FreeBSD's strftime from segfaulting by setting tm_zone. 2001-10-19 13:26:56 +00:00
mainzelm fe6a9db1e5 Renamed scsh-events to sigevents. 2001-10-18 09:02:52 +00:00
mainzelm f4c06c96e7 Let wait-pid use s48_raise_os_error and adapt Scheme code accordingly. 2001-10-18 08:51:32 +00:00
mainzelm 238dceb380 Renamed sleep & sleep-until to process-sleep and process-sleep-until. 2001-10-09 19:47:00 +00:00