Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • pw's avatar
    4a42e17c
    This revision alters the condition type hierarchy to be in compliance · 4a42e17c
    pw authored
    with the ANSI spec. A default report method is attached to the
    serious-condition class and many of the uses of (error "string" arg..)
    in filesys.lisp and package.lisp were changed to use, for example,
    (error 'file-error :format-control "string" :format-arguments (list stuff))
    The end result is no obvious change to what the user sees, and enables
    one to establish a handler to catch the particular error type as
    mentioned in the "Exceptional Situations:" section of the CLHS
    write-ups. There probably are still some places where the error
    types need to be fixed.
    
    Also, a bug in with-package-iterator which caused failure with
    a null package-use-list was fixed, and some file functions (like
    truename and probe-file) now disallow a wild pathname.
    4a42e17c
    History
    This revision alters the condition type hierarchy to be in compliance
    pw authored
    with the ANSI spec. A default report method is attached to the
    serious-condition class and many of the uses of (error "string" arg..)
    in filesys.lisp and package.lisp were changed to use, for example,
    (error 'file-error :format-control "string" :format-arguments (list stuff))
    The end result is no obvious change to what the user sees, and enables
    one to establish a handler to catch the particular error type as
    mentioned in the "Exceptional Situations:" section of the CLHS
    write-ups. There probably are still some places where the error
    types need to be fixed.
    
    Also, a bug in with-package-iterator which caused failure with
    a null package-use-list was fixed, and some file functions (like
    truename and probe-file) now disallow a wild pathname.