acid on freebsd
This commit is contained in:
parent
ebd395452e
commit
6c8856475f
2 changed files with 3 additions and 2 deletions
|
|
@ -633,6 +633,7 @@ doaccess(Node *r, Node *args)
|
|||
|
||||
r->op = OCONST;
|
||||
r->type = TINT;
|
||||
r->store.fmt = 'D';
|
||||
r->store.u.ival = 0;
|
||||
if(access(res.store.u.string->string, 4) == 0)
|
||||
r->store.u.ival = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue