Commit Graph

34 Commits

Author SHA1 Message Date
mainzelm aa57bec9c2 Support for uname. 2002-09-06 12:23:18 +00:00
sperber 4381ac9095 Add a whole bunch of S48_GC_PROTECT annotations in functions which
call s48_extract_integer.

s48_extract_integer can cause a callback for bignums, and, hence, heap
allocation.

This fixes a bug report by Seth Alves <alves@hungry.com> noting
spurious failures in SET-FILE-TIMES.
2002-08-13 15:46:17 +00:00
mainzelm e710e9b121 Dynamically allocate space for symbolic link if MAXPATHLEN is not defined. 2002-06-10 08:47:48 +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 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
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 2da600ffbb Replaced // comments. 2002-01-11 10:13:58 +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
sperber b5180b35af Make naming consistent with current Scheme 48:
argtype -> argument_type
argnumber -> argument_number
2001-12-03 15:19:48 +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 b537e81a35 Test correctly for EBADF. 2001-10-03 14:44:45 +00:00
mainzelm 006c551429 + Decigged syscalls, sleep
+ Modified operations that work on file descriptors to allocate appropriate
  buffered ports.
2001-09-07 16:05:31 +00:00
mainzelm e4e0ba1e31 char_ready can be defined in terms of select, stream_char_ready is no longer needed, so there is nothing machine-specific left.
Therefore removed arch/stdio_dep.c/h and defined char_ready in syscalls.
2001-09-06 16:34:49 +00:00
mainzelm 327daeed32 Replaced most of define-foreign by
define-stubless-foreign/define-retrying-syscall in syscalls.scm.
2001-08-08 09:21:20 +00:00
mainzelm 4aa561b569 Implement environment per thread via process-resource/thread-fluids. 2001-08-06 08:33:24 +00:00
mainzelm d97da4df60 Fix in crypt for FreeBSD. 2001-06-19 11:33:08 +00:00
sperber 3cf10885fa Removed old syslog cruft. 2001-06-03 17:33:04 +00:00
mainzelm ec5d343b75 Removed assignments to errno. 2001-01-09 10:26:52 +00:00
mainzelm fb6abe74fa Added syslog. 2001-01-02 14:43:27 +00:00
mainzelm c7be5ed2b1 Ported some functions to new FFI. 2001-01-01 17:22:54 +00:00
mainzelm d58a39d813 Small bug fixes. 2000-09-20 10:14:11 +00:00
mainzelm 2a6d087f0d Replaced many define-foreign by define-stubless-foreign 2000-09-19 08:08:39 +00:00
mainzelm edf2979dc8 removed debug message 2000-09-01 07:06:38 +00:00
marting 37fc37e78c Implemented waitpid with the new FFI to support 32 bit parameters. 2000-07-27 13:32:12 +00:00
marting ea5725436e Added several cwd-aligns. with-env usees with-lock. Some corrections
to getenv.
2000-06-28 10:27:34 +00:00
marting cc385802be replaced enter_fixnum by enter_integer in really_stat so files may be bigger than 5 GB and it works with the inode numbers in my afs. 2000-05-16 08:43:01 +00:00
marting 539638acbd removed reap-zombies from fork; renamed cwd and chdir to process-X to support cwd per thread;read-symlink and get-hostname communicate via scheme-strings to omit the static strings; support for environ per thread, but some things are missing; added a first version of crypt 1999-11-04 20:23:25 +00:00
marting 2a6d18e4b0 added pid_t 1999-10-10 17:33:06 +00:00
marting 2b3cb928b5 replaced integer by fixnum and removed 32-bit hacks 1999-09-29 22:47:33 +00:00
marting 768fc0b2f3 replaced most of the hi8/lo24-stuff by enter/extract_integer from the new FFI 1999-09-28 23:48:36 +00:00
marting d2fc94c2da replaced all the macros and definitions that have changed in c/scheme48.h. Sometimes changes were necessary, if stuff is no longer a l-value. Some things are just commented out to be able to compile 1999-09-16 00:20:37 +00:00
marting 09136048ae Added files from david fishers home (~dfisher/scsh-0.5.1).
Be warned: the scsh-version he started from was neither 0.5.1 nor
0.5.2, but something in between !
1999-09-14 13:32:05 +00:00