Björn Lindqvist
0bb3228063
unix: fixed read-symbolic-link ( #1074 ) + tests
2016-03-23 16:15:30 +01:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
John Benediktsson
9ad9cd3f14
unix: don't need << >>.
2015-07-28 19:23:54 -07:00
Doug Coleman
0176591527
factor: actual patch to remove ; from all c/fortran functions
2015-07-19 16:25:30 -07:00
Doug Coleman
2c257f399c
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
2015-07-18 22:16:11 -07:00
Doug Coleman
0fbe0e5167
unix: Ignore failures if errno is EINTR on close(2). Fixes #908 .
2014-07-07 14:55:13 -07:00
Björn Lindqvist
57a933e330
libc.*, unix.*: move constants and functions from the unix namespace to libc
...
The E* errno and SIG* constants are defined on Windows too, so they
should be in the libc vocab which is available there. They will be
used for SSL error handling.
2014-04-02 12:12:25 -05:00
John Benediktsson
f70325a8c2
unix: use byte-vectors here.
2013-03-29 11:40:59 -07:00
John Benediktsson
7b50fd3601
unix: adding truncate-file.
2012-10-25 21:51:08 -07:00
John Benediktsson
be4db5312f
unix: adding mkfifo.
2012-10-24 20:08:32 -07:00
Slava Pestov
ea726f5680
Move remaining sequence operations from generalizations to sequences.generalizations where they belong
2010-05-18 18:36:47 -04:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Joe Groff
ba2fa96eeb
unix: don't hack _exit to have a terminating effect; just use FUNCTION:
2010-04-14 22:04:04 -07:00
Daniel Ehrenberg
eb060443db
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Doug Coleman
8d952277a2
Handle EINTR in a lot of cases where it wasn't handled before. Split off unix into unix.ffi and unix.
2010-01-22 12:59:24 -06:00
Doug Coleman
07fcb43a06
Make unix-system-call retry the call immediately upon hitting EINTR. Use unix-system-call wherever EAGAIN or EINPROGRESS are not handled. Handle EINTR if connect returns it.
2010-01-22 12:59:17 -06:00
Slava Pestov
7155447aed
stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot
2010-01-15 08:04:14 +13:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Doug Coleman
0af1b3a7d9
add librt for monotonic timers, new timespec>nanoseconds word
2009-11-15 00:46:12 -06:00
Joe Groff
935c0797c3
update existing code for [let change
2009-10-27 22:05:37 -05:00
Joe Groff
543ca72632
fix linux bootstrap
2009-09-27 22:16:07 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Doug Coleman
45629c63b3
update users/groups for new structs
2009-08-30 23:07:46 -05:00
Slava Pestov
fb6df472a2
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
erg
8c19ab04c9
use open64 instead of open on linux. use stat64 instead of stat on
...
linux. add word to report if a file is sparse
2009-05-07 16:41:37 -05:00
Doug Coleman
2d0925d995
add make-hard-link to io.files.links
2009-04-28 22:51:35 -05:00
Doug Coleman
5f39a714be
add some constants to unix
2009-02-07 00:59:50 -06:00
Doug Coleman
43a91efde9
rename err_no to errno, clear_err_no to clear-errno, move them to libc, update usages
2009-02-06 18:22:28 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Slava Pestov
df7ad34db2
Credit where credit is due
2009-01-18 17:28:36 -06:00
Slava Pestov
c5160d76e9
Merge qualified, alias, symbols, constants into core
2008-12-17 18:10:01 -06:00
Slava Pestov
63fda570bf
Fixing assorted compile errors and help lint warnings
2008-12-16 01:12:36 -06:00
Slava Pestov
0021cde743
Fix more compile errors
2008-12-15 22:21:56 -06:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00
Slava Pestov
7940020491
Untangling more dependencies
2008-12-08 16:02:31 -06:00
Doug Coleman
bc14b8c7c8
fix a netbsd struct definition and some >r r> usage
2008-11-29 20:19:40 -06:00
Doug Coleman
25d9fd68fc
translate directory-type flags to our factor symbols
2008-11-19 16:22:42 -06:00
Doug Coleman
371b1f8f20
fix mounted on macosx
2008-10-22 18:46:24 -05:00
Doug Coleman
b90aeee25c
use readdir on openbsd until we upgrade so the build machine is ok
2008-10-20 11:32:55 -05:00
Doug Coleman
bce8b1eff6
DIR is not meant to be explicit
2008-10-19 13:43:42 -05:00
Doug Coleman
0e9ecc1ba9
directory changes
2008-10-19 13:09:48 -05:00
Doug Coleman
8b26610808
os envs code and use unix.utilities
2008-10-18 21:15:43 -05:00
Doug Coleman
9228d367a1
ffi structs and typedefs
2008-10-07 19:23:35 -05:00
Doug Coleman
9e807a88c6
ffi work
2008-10-07 13:16:18 -05:00
Doug Coleman
4eb3f73483
moving structs around
2008-10-06 18:18:33 -05:00
Doug Coleman
c4fdad4df6
move structs around AGAIN
2008-10-06 18:02:07 -05:00
Doug Coleman
5c8de44085
more unix ffi functions
2008-10-05 15:23:04 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
1f02696b08
Merge branch 'master' into new_optimizer
2008-08-14 23:39:05 -05:00