Opened 4 months ago

Closed 4 weeks ago

#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

Description

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 4 months ago by felix

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

comment:2 Changed 5 weeks ago by wasamasa

  • Milestone changed from someday to 5.0

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

comment:3 Changed 4 weeks ago by sjamaan

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

Fixed by 536e2351cf5836e76df79395813501fcb2c4b034

Note: See TracTickets for help on using tickets.