unix.*, io.directories.unix: remove unnecessary dependency on io.backend.unix
parent
a87211ff29
commit
a8633d28c7
|
@ -2,12 +2,14 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors alien.c-types alien.data alien.strings
|
||||
combinators continuations destructors fry io io.backend
|
||||
io.backend.unix io.directories io.encodings.binary
|
||||
io.directories io.encodings.binary
|
||||
io.encodings.utf8 io.files io.pathnames io.files.types kernel
|
||||
math.bitwise sequences system unix unix.stat vocabs.loader
|
||||
classes.struct unix.ffi literals libc ;
|
||||
IN: io.directories.unix
|
||||
|
||||
CONSTANT: file-mode OCT: 0666
|
||||
|
||||
CONSTANT: touch-mode flags{ O_WRONLY O_APPEND O_CREAT O_EXCL }
|
||||
|
||||
M: unix touch-file ( path -- )
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors alien alien.c-types alien.data alien.strings
|
||||
assocs byte-arrays classes.struct combinators
|
||||
combinators.short-circuit continuations fry io.backend.unix
|
||||
io.encodings.utf8 kernel math math.parser namespaces sequences
|
||||
splitting strings unix unix.ffi unix.users unix.utilities ;
|
||||
combinators.short-circuit continuations fry io.encodings.utf8
|
||||
kernel math math.parser namespaces sequences splitting strings
|
||||
unix unix.ffi unix.users unix.utilities ;
|
||||
QUALIFIED: unix.ffi
|
||||
QUALIFIED: grouping
|
||||
IN: unix.groups
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
USING: kernel system combinators alien.syntax alien.c-types
|
||||
math io.backend.unix vocabs.loader unix classes.struct ;
|
||||
math vocabs.loader unix classes.struct ;
|
||||
IN: unix.stat
|
||||
|
||||
! File Types
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors alien alien.c-types alien.strings assocs
|
||||
byte-arrays classes.struct combinators
|
||||
combinators.short-circuit continuations fry grouping
|
||||
io.backend.unix io.encodings.utf8 kernel math math.parser
|
||||
namespaces sequences splitting strings system unix unix.ffi
|
||||
vocabs.loader ;
|
||||
byte-arrays classes.struct combinators combinators.short-circuit
|
||||
continuations fry grouping io.encodings.utf8 kernel math
|
||||
math.parser namespaces sequences splitting strings system unix
|
||||
unix.ffi vocabs.loader ;
|
||||
QUALIFIED: unix.ffi
|
||||
IN: unix.users
|
||||
|
||||
|
|
Loading…
Reference in New Issue