diff options
author | Mark H Weaver <mhw@netris.org> | 2012-02-01 16:35:32 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2012-02-01 20:58:55 -0500 |
commit | c12da2be81d5a77040f2e75a2a0646837b29c4f5 (patch) | |
tree | 14c7034e9c2b7b5ded908f489ceca94a4b6f903d /doc/ref/api-debug.texi | |
parent | 52de2ab45ab77ca5a2d6443278c7f654cdc60fb2 (diff) | |
download | guile-c12da2be81d5a77040f2e75a2a0646837b29c4f5.tar.gz |
Fix search_path to fill stat_buf when given an absolute pathname
* libguile/load.c (search_path): When the provided 'filename' is an
absolute pathname, perform a 'stat' on that pathname to fill the
'stat_buf'. Previously, 'stat_buf' was left uninitialized in this
case, even though 'scm_primitive_load_path' assumes that 'stat_buf'
will be filled. Update the header comment to explicitly specify that
'stat_buf' will be filled. Also 'goto end' in a few failure cases
instead of replicating its code.
Diffstat (limited to 'doc/ref/api-debug.texi')
0 files changed, 0 insertions, 0 deletions