Fix bootstrap. Add missing using on io.serial.linux. Fixes #351.
parent
7942f807c9
commit
cb14adb1c2
|
@ -253,8 +253,8 @@ CONSTANT: SIGPIPE 13
|
|||
CONSTANT: SIGALRM 14
|
||||
CONSTANT: SIGTERM 15
|
||||
CONSTANT: SIGSTKFLT 16
|
||||
ALIAS: SIGCLD SIGCHLD
|
||||
CONSTANT: SIGCHLD 17
|
||||
ALIAS: SIGCLD SIGCHLD
|
||||
CONSTANT: SIGCONT 18
|
||||
CONSTANT: SIGSTOP 19
|
||||
CONSTANT: SIGTSTP 20
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
USING: kernel alien.c-types alien.data alien.strings sequences
|
||||
math alien.syntax unix namespaces continuations threads assocs
|
||||
io.backend.unix io.encodings.utf8 unix.types unix.utilities fry ;
|
||||
io.backend.unix io.encodings.utf8 unix.types unix.utilities fry
|
||||
unix.ffi ;
|
||||
IN: unix.process
|
||||
|
||||
! Low-level Unix process launching utilities. These are used
|
||||
|
@ -38,9 +39,6 @@ FUNCTION: int execve ( c-string path, c-string* argv, c-string* envp ) ;
|
|||
: with-fork ( child parent -- )
|
||||
[ fork-process ] 2dip if-zero ; inline
|
||||
|
||||
CONSTANT: SIGKILL 9
|
||||
CONSTANT: SIGTERM 15
|
||||
|
||||
FUNCTION: int kill ( pid_t pid, int sig ) ;
|
||||
|
||||
CONSTANT: PRIO_PROCESS 0
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors classes.struct combinators io.backend.unix
|
||||
io.ports io.serial io.streams.duplex kernel literals math
|
||||
system unix unix.ffi ;
|
||||
system unix unix.ffi io.serial.linux.ffi ;
|
||||
IN: io.serial.linux
|
||||
|
||||
: fd>duplex-stream ( fd -- duplex-stream )
|
||||
|
|
Loading…
Reference in New Issue