New IO implementation needs testing
Bug #175290 reported by
Abdulaziz Ghuloum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Critical
|
Abdulaziz Ghuloum |
Bug Description
The new IO system has been integrated into Ikarus, replacing the old system. The new system should provide better support for unicode and almost supports all the features required by the R6RS. There might be some corner cases that I've missed, and some procedures may have been lost in translation. Please do use the new system and report any problems you may encounter.
The major difference between the new and old system is that binary ports are now distinguished from textual ports. Therefore, get-char/put-char are only valid on textual ports while get-u8/put-u8 are only valid on binary ports.
Thanks.
Changed in ikarus: | |
importance: | Undecided → Critical |
Changed in ikarus: | |
status: | New → Fix Committed |
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ make adamsmd/ projects/ ikarus/ ikarus. dev' adamsmd/ projects/ ikarus/ ikarus. dev/src' adamsmd/ projects/ ikarus/ ikarus. dev/src' output_ fd’: adamsmd/ projects/ ikarus/ ikarus. dev/src' adamsmd/ projects/ ikarus/ ikarus. dev/src' adamsmd/ projects/ ikarus/ ikarus. dev'
make all-recursive
make[1]: Entering directory `/home/
Making all in src
make[2]: Entering directory `/home/
make all-am
make[3]: Entering directory `/home/
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -DNDEBUG -O3 -MT ikarus-io.o -MD -MP -MF .deps/ikarus-io.Tpo -c -o ikarus-io.o ikarus-io.c
ikarus-io.c: In function ‘ikrt_open_
ikarus-io.c:78: error: ‘S_IRUSR’ undeclared (first use in this function)
ikarus-io.c:78: error: (Each undeclared identifier is reported only once
ikarus-io.c:78: error: for each function it appears in.)
ikarus-io.c:78: error: ‘S_IWUSR’ undeclared (first use in this function)
ikarus-io.c:78: error: ‘S_IRGRP’ undeclared (first use in this function)
ikarus-io.c:78: error: ‘S_IROTH’ undeclared (first use in this function)
make[3]: *** [ikarus-io.o] Error 1
make[3]: Leaving directory `/home/
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all] Error 2
It seems you are trying to use stat() options with open(), which is really not supported on Linux.