options, corrected docs for evaluator trap options.
* scheme-evaluation.texi (Scheme Read): New docs for read-options,
read-enable, read-disable and read-set! and cross references to
option nodes.
(Evaluator Options): New docs for eval-options, eval-enable,
eval-disable and eval-set!, traps, trap-enable, trap-disable and
trap-set! and cross references to option nodes.
(Evaluator Behaviour): Renamed node from `Evaluator options' to
avoid name clash.
* scheme-io.texi (String Ports): Added docs for SRFI-6 procedures.
(Void Ports): Corrected introductory comment.
check" was run before Guile had been installed with the current
--prefix. made various changes to the script so that it runs
without a cd to the test-suite directory. For the -i option,
don't point GUILE_LOAD_PATH to the current directory, but let it
use it's own scheme library.
* tests/r4rs.test: use test-file-name to locate r4rs.test,
not data-file-name.
* guile-test: define tmp-dir, the location where r4rs.test will
create it's temporary files.
(data-file-name): use tmp-dir. this must be under build-dir,
not src-dir.
the current directory (build dir) not srcdir to find guile
executable. otherwise "make check" doesn't work with a separate
build directory. create the test log in
$build_dir/check-guile.log instead of in srcdir/test-suite
directory.
* configure.in: don't define or substitute test_suite_dir.
* guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
first line.
NULL. rewrote the docstring.
(scm_mkstemp): new procedure implementing "mkstemp!".
* posix.h: declare scm_mkstemp.
* net_db.c: declare h_errno if configure didn't define HAVE_H_ERRNO.
normally it would be found in netdb.h.
since EXTRA_DOT_DOC_FILES is redefined later. define
EXTRA_DOT_X_FILES and hand it to AC_SUBST.
* sort.c (scm_sort): move sortvec variable to avoid a compiler
warning when HAVE_ARRAYS is not defined. move len too.
* Makefile.am (DOT_X_FILES): remove net_db.x, posix.x, socket.x.
(EXTRA_DOT_X_FILES): let configure set the value.
(DOT_DOC_FILES): remove net_db.doc, posix.doc, socket.doc.
scm_must variants of malloc/free etc., should be used, based on
explanation from Dirk Herrmann.
* fports.c (scm_fport_buffer_add): use FUNC_NAME instead of a local
string with procedure name. use scm_must_malloc instead of malloc.
(scm_setvbuf, scm_fdes_to_port, fport_close): use scm_must variants
of malloc/free.
* ports.c (scm_add_to_port_table, scm_remove_from_port_table,
scm_ungetc): use scm_must variants of malloc/realloc/free.
(scm_add_to_port_table, scm_ungetc): define FUNC_NAME.
instead of scm_wrong_num_args.
* coop-threads.c: Don't include libguile/strings.h. (Was only
needed for former implementation of SCM_WRONG_NUM_ARGS.)
* debug.c (scm_m_start_stack): Don't use SCM_ASSERT to check for
wrong-num-args errors.
procedures.
(Integer Operations): Added documentation.
(Comparison): Added documentation.
(Complex): Added documentation.
(Symbols and Variables): Comment out `builtin-bindings', which is
removed according to NEWS.
(Pairs): Added documentation.
* scheme-io.texi: Added R5RS index entries for all R5RS
procedures.
(File Ports): New docs for `call-with-input-file',
`call-with-output-file', `with-input-from-file',
`with-output-to-file', `with-error-to-file'.
* scheme-control.texi, scheme-utility.texi,
* scheme-procedures.texi: Added R5RS index entries for all R5RS
procedures.
* scheme-evaluation.texi (Fly Evaluation): Added documentation for
`apply'. Added R5RS index entries for all R5RS procedures.
* scheme-data.texi: Added R5RS index entries for all R5RS
procedures. Removed R5RS index entries for `ass{q,v,occ}-set!'.
Removed explicit entries into the function entries. They are
automagic.
(Vectors): Added documentation for `make-vector', `vector-ref' and
`vector-set!'.
before looking at the magnitude. Correctly check for overflow
during conversion.
(scm_num2long_long): Likewise.
(scm_num2ulong_long): New.
(ULONG_LONG_MAX): Define if not already defined.
* numbers.h: (scm_num2ulong_long): New prototype.
(gh_scm2floats, gh_scm2doubles): Check for malloc() returning NULL
in various places.
(gh_scm2newstr, gh_symbol2newstr): Change call to
scm_must_malloc() to malloc(), because user-free()able memory is
allocated.
* gc.c: Added declaration of `scm_debug_check_freelist'.