add exception-on-error optional arg to `stat' in scheme
authorAndy Wingo <wingo@pobox.com>
Tue, 2 Jun 2009 20:20:21 +0000 (22:20 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 3 Jun 2009 20:20:55 +0000 (22:20 +0200)
commitfcb6f5ff3332a3a4b3de7d735757f7d3db4ddff5
treeedbd19b43eba1308a116f65c08d4b23f3b0157e3
parent5b197db838ae12aae948eef92d79d1f37548bac4
add exception-on-error optional arg to `stat' in scheme

* libguile/filesys.h:
* libguile/filesys.c (scm_stat): Add optional arg, exception-on-error,
  which if #f (not the default) will just return #f instead of raising an
  exception if the stat fails.
libguile/filesys.c
libguile/filesys.h