]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix bootstrap. Add missing using on io.serial.linux. Fixes #351.
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 4 Nov 2011 13:08:02 +0000 (06:08 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 4 Nov 2011 13:08:02 +0000 (06:08 -0700)
basis/unix/ffi/linux/linux.factor
basis/unix/process/process.factor
extra/io/serial/linux/linux.factor

index ef00c233cebc001424b166ea02d0163cbfbd1d0b..d5de05b8c922f649764738ff0d0ec282574b6b73 100644 (file)
@@ -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
index a112b9829a6ab9ca52d420990772b3ffe3add138..cdf3e8222f1c65eb52fd719ccf8bd0b5a99f081e 100644 (file)
@@ -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
index d069fc7e7094de0755cdc9868b36813fe663bf91..4763ceb641a379493f43896899b1d21595905a57 100644 (file)
@@ -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 )