When file- or directory-opening primitives get errors, signal those
authorChris Hanson <org/chris-hanson/cph>
Sat, 26 Oct 1991 16:21:08 +0000 (16:21 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sat, 26 Oct 1991 16:21:08 +0000 (16:21 +0000)
commit230a7c60393d59bd2a93ae6f09dc65ee8a52a205
treebbdc58bf77627be9b989dce1e1a2851780ed6035
parent56337fded8e535189f4edd3dbe481072d9844fe8
When file- or directory-opening primitives get errors, signal those
errors as open-file-error conditions.  In those cases, don't use
another condition as the explanation: create a meaninful error string
from the error's context.

This change has these effects:

* All file/directory-opening primitives now signal the same condition.

* RETRY and USE-VALUE handlers are available whenever that condition
  is signalled; previously these handlers were only sometimes
  available, and there was no reasonable way to provide them when they
  were not.
v7/src/runtime/error.scm
v7/src/runtime/io.scm
v7/src/runtime/load.scm
v7/src/runtime/pathnm.scm
v7/src/runtime/sfile.scm
v7/src/runtime/uerror.scm
v8/src/runtime/load.scm