#1386 closed defect (fixed)

file-read-access? returns #f for non-existent files

Reported by: wasamasa Owned by:
Priority: minor Milestone: 5.0
Component: core libraries Version: 4.12.0
Keywords: posix Cc:
Estimated difficulty: easy


As seen on IRC:

<Seylerius> Hrm. Isn't file-read-access? supposed to error out on a nonexistent file?

Expected outcome:

(file-read-access? "/con/con") ;=> <file error>

Actual outcome:

(file-read-access? "/con/con") ;=> #f

I've worked out a patch with the help of TheLemonMan? on IRC.

Attachments (2)

Change History (5)

comment:1 Changed 21 months ago by felix

The patch and the intended behaviour looks correct. But this would be a Change Request, I suppose.

comment:2 Changed 18 months ago by wasamasa

  • Milestone changed from someday to 5.0

I've changed my mind and reworked the patch for C5.

comment:3 Changed 17 months ago by sjamaan

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by 536e2351cf5836e76df79395813501fcb2c4b034

Note: See TracTickets for help on using tickets.