ENOTDIR should raise &i/o-filename

Bug #370220 reported by Derick Eddington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ikarus Scheme
New
Undecided
Unassigned

Bug Description

Ikarus Scheme version 0.0.4-rc1+ (revision 1771, build 2009-04-30)
Copyright (c) 2006-2009 Abdulaziz Ghuloum

> (open-directory-stream "/etc/passwd")
Unhandled exception
 Condition components:
   1. &error
   2. &who: open-directory-stream
   3. &message: "ENOTDIR: Not a directory"
   4. &irritants: ("/etc/passwd")
>

Attached is a tiny patch which makes it do:

Ikarus Scheme version 0.0.4-rc1+ (revision 1771, build 2009-04-30)
Copyright (c) 2006-2009 Abdulaziz Ghuloum

> (open-directory-stream "/etc/passwd")
Unhandled exception
 Condition components:
   1. &error
   2. &who: open-directory-stream
   3. &message: "ENOTDIR: Not a directory"
   4. &i/o-filename: "/etc/passwd"
>

Revision history for this message
Derick Eddington (derick-eddington) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.