runtime/option.scm (library-file?): Search for the .scm file.
authorMatt Birkholz <puck@birchwood-abbey.net>
Wed, 25 May 2016 22:09:45 +0000 (15:09 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Wed, 25 May 2016 22:09:45 +0000 (15:09 -0700)
commit7cb63c56d368cef653c64bac46d18ed41d1a5f99
tree5639de84343b2fcfb2cba76df127c0e4de726973
parentf2e233a31f09d7e716f87f2aa2ef202c5513c39e
runtime/option.scm (library-file?): Search for the .scm file.

Library-file? is applied to optiondb pathnames with no type, but
system-library-pathname only searches for a matching type.  Add a
"scm" type when searching the path and strip it again when looking for
a loadable.
src/runtime/option.scm