mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
commit
f7cd936d79
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ defbinary("%", sar, >>, intptr_t)
|
||||||
defcode("(open)", openfile) {
|
defcode("(open)", openfile) {
|
||||||
int flags = pop();
|
int flags = pop();
|
||||||
char *name = (char*) pop();
|
char *name = (char*) pop();
|
||||||
int fd = open(name, flags);
|
int fd = open(name, flags, 0644);
|
||||||
push(fd);
|
push(fd);
|
||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue