hyln9 / ikarus

Optimizing incremental native-code compiler for R6RS scheme. This is a forked repository.
https://launchpad.net/ikarus
Other
5 stars 0 forks source link

ENOTDIR should raise &i/o-filename #253

Open hyln9 opened 10 years ago

hyln9 commented 10 years ago

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"

Launchpad Details: #LP370220 Derick Eddington - 2009-05-01 01:43:37 -0400