[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1386: file-read-access? returns #f for non-existent
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1386: file-read-access? returns #f for non-existent files |
Date: |
Fri, 07 Jul 2017 20:47:23 -0000 |
#1386: file-read-access? returns #f for non-existent files
----------------------------+--------------------------------
Reporter: wasamasa | Owner:
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: core libraries | Version: 4.12.0
Keywords: posix | Estimated difficulty: easy
----------------------------+--------------------------------
As seen on IRC:
> <Seylerius> Hrm. Isn't `file-read-access?` supposed to error out on a
nonexistent file?
Expected outcome:
{{{#!scheme
(file-read-access? "/con/con") ;=> <file error>
}}}
Actual outcome:
{{{#!scheme
(file-read-access? "/con/con") ;=> #f
}}}
I've worked out a patch with the help of TheLemonMan on IRC.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1386>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1386: file-read-access? returns #f for non-existent files,
Chicken Trac <=