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