Keisuke Nishida
66418d3465
fix problems with gcc-2.96.
2001-03-07 06:06:16 +00:00
Dirk Herrmann
2ade72d773
* Remove uses of SCM_ASSERT that may result in error messages different
...
from wrong-type-arg errors.
2001-03-06 01:22:37 +00:00
Mikael Djurfeldt
586d7da237
* eval.c (scm_m_letstar): Removed check for duplicate bindings.
...
Duplicate bindings are OK in a let* since a let* is semantically
equivalent to a nested set of let:s.
2001-03-05 18:54:55 +00:00
Martin Grabmüller
1dd05fd8aa
* print.c (scm_print_options): Fixed texinfo in docstring.
...
* net_db.c (scm_getserv, scm_getproto, scm_getnet): Return #f if
the underlying functions getservent, getprotoent or getnetent
return NULL instead of signalling an error.
2001-03-05 07:25:56 +00:00
Gary Houston
2772dc1af3
*** empty log message ***
2001-03-04 23:35:21 +00:00
Gary Houston
439006bf6e
* socket.c (scm_fill_sockaddr): don't allow buffer overflows when
...
taking an unexpectedly large filename for an AF_UNIX socket from
bind/connect/sendto (thanks to Martin Grabmueller).
* socket.c (scm_sock_fd_to_port, SCM_SOCK_FD_TO_PORT): removed the
former and adjusted the latter.
(scm_socket, scm_socketpair): cosmetic changes.
(scm_getsockopt, scm_setsockopt): declare optlen as int, not
size_t as socklen_t substitute. don't restrict args/return values
to INUM: allow full range of int or size_t.
(scm_fill_sockaddr): check arguments before allocating memory, to
avoid leakage. use malloc, not scm_must_malloc.
(scm_connect, scm_bind, scm_sendto): use int, not size_t as socklen_t
substitute. free the sockaddr structure before throwing an error.
(scm_init_add_buffer): procedure removed, together with its static
buffer scm_addr_buffer, which wouldn't be thread safe. instead,
define a macro MAX_ADDR_SIZE and declare the buffer where needed.
(scm_accept, scm_getpeername, scm_getsockname, scm_recvfrom,
scm_sendto): use a local buffer instead of scm_addr_buffer.
adjust for new SCM_SOCK_FD_TO_PORT. use int for address size,
not size_t.
(scm_recvfrom): set addr->sa_family to AF_UNSPEC before the recvfrom
call to detect whether recvfrom could be bothered to set the address.
(scm_init_socket): don't call scm_init_addr_buffer.
2001-03-04 23:34:16 +00:00
Dirk Herrmann
276dd6775c
* Eliminate another couple of calls to scm_wta.
2001-03-04 22:48:13 +00:00
Mikael Djurfeldt
5e03762c12
* goops.c, goops.h (scm_sys_pre_expand_closure_x): Removed.
...
(scm_sys_tag_body): Added.
2001-03-04 20:46:04 +00:00
Dirk Herrmann
db4b4ca64f
* Eliminate some calls to scm_wta.
2001-03-04 17:09:34 +00:00
Mikael Djurfeldt
87e7741df7
* goops.c (scm_sys_pre_expand_closure_x): New procedure.
2001-03-04 05:27:41 +00:00
Marius Vollmer
d19b0aac73
*** empty log message ***
2001-03-03 23:56:28 +00:00
Marius Vollmer
14fe4fe9ce
*** empty log message ***
2001-03-03 17:25:22 +00:00
Marius Vollmer
2fd945df34
*** empty log message ***
2001-03-03 15:17:05 +00:00
Keisuke Nishida
9e6fc585b2
Remove dump facilities.
2001-03-02 23:41:18 +00:00
Martin Grabmüller
eae54bf072
*** empty log message ***
2001-03-02 09:09:06 +00:00
Dirk Herrmann
23deee8161
* Minor fixes to error checking macros.
2001-02-28 16:58:12 +00:00
Mikael Djurfeldt
6fe692e911
ports.c, ports.h (scm_c_read, scm_c_write): New functions.
...
ports.h (SCM_READ_BUFFER_EMPTY_P): New macro.
2001-02-26 03:06:57 +00:00
Neil Jerram
27c3700636
* numbers.c (scm_two_doubles, scm_sys_expt, scm_sys_atan2,
...
scm_make_polar): Rename arguments `z1' and `z2' to `x' and `y',
since use of `z' suggests that the arguments may be complex.
* goops.c (scm_make), numbers.c (scm_sys_expt): Fix docstring
typos.
2001-02-24 23:46:04 +00:00
Neil Jerram
2069af3835
* Minor docstring updates.
2001-02-23 20:24:15 +00:00
Marius Vollmer
97ea55f832
*** empty log message ***
2001-02-22 20:54:36 +00:00
Marius Vollmer
b42ff18090
*** empty log message ***
2001-02-22 09:25:32 +00:00
Marius Vollmer
09f2ab1e04
*** empty log message ***
2001-02-21 20:19:31 +00:00
Martin Grabmüller
7090240cf4
*** empty log message ***
2001-02-17 11:36:16 +00:00
Neil Jerram
2570385024
* guile-snarf.awk.in: Quote any `@'s that occur in Scheme names,
...
by doubling them to `@@'.
2001-02-16 18:57:11 +00:00
Martin Grabmüller
73c0fdce7e
Massive docstring work.
2001-02-16 15:25:09 +00:00
Keisuke Nishida
e228a20323
* dump.c (scm_undump): Bug fixed.
2001-02-16 00:57:11 +00:00
Marius Vollmer
1552a59dfc
*** empty log message ***
2001-02-15 15:40:14 +00:00
Marius Vollmer
3178f75169
*** empty log message ***
2001-02-13 18:38:11 +00:00
Marius Vollmer
7af4defed1
*** empty log message ***
2001-02-13 01:09:25 +00:00
Keisuke Nishida
5d6bb34916
* list.c (scm_list_copy): Validate the first argument.
2001-02-12 21:45:22 +00:00
Marius Vollmer
ec9709f00f
*** empty log message ***
2001-02-11 18:17:56 +00:00
Keisuke Nishida
42417394f2
* dump.c (scm_store_bytes, scm_restore_bytes): Store/restore size.
2001-02-10 07:09:45 +00:00
Keisuke Nishida
bf942687d7
* dump.c: Use double cells for update schedule.
2001-02-09 22:37:10 +00:00
Keisuke Nishida
1be4270af3
Bug fixed.
2001-02-09 07:12:05 +00:00
Marius Vollmer
c5408bc31f
s/open/existed/ in description of port-for-each change.
2001-02-08 18:53:48 +00:00
Marius Vollmer
548728ea6d
*** empty log message ***
2001-02-08 18:52:05 +00:00
Dirk Herrmann
cb0d8be234
* Fixed parameter checking for make-string.
...
* Corrected a bug introduced with the last patch.
2001-02-08 11:40:51 +00:00
Dirk Herrmann
e382fdbe0f
* Fixed parameter checking for make-vector.
2001-02-08 10:48:01 +00:00
Keisuke Nishida
bf8f092280
Removed redundant code.
2001-02-06 02:12:10 +00:00
Keisuke Nishida
5f17c66f82
Minor modifications.
2001-02-05 19:14:20 +00:00
Keisuke Nishida
914cceec2c
New dump/undump scheme.
2001-02-05 08:46:21 +00:00
Michael Livshin
ecf470a2aa
SCM_DOUBLE_CELLP deprecated and made unused
2001-02-03 12:26:38 +00:00
Keisuke Nishida
03416a991e
New files: dump.c, dump.h.
2001-02-03 04:59:16 +00:00
Keisuke Nishida
00ffa0e7d6
New functions: scm_c_make_vector, scm_c_make_hash_table.
2001-02-02 04:56:25 +00:00
Mikael Djurfeldt
b8446ce883
* unif.c (rapr1): Don't apply scm_uniform_vector_length on arrays.
2001-01-31 15:18:47 +00:00
Dirk Herrmann
e32398681a
* Added docstrings by Martin Grabmueller.
2001-01-30 14:53:20 +00:00
Mikael Djurfeldt
41ee56dde3
* eval.c (SCM_APPLY): Check that primitives which take 1 arg
...
really get that arg.
2001-01-29 18:23:34 +00:00
Keisuke Nishida
b6311c0832
goops.c (s_scm_get_keyword): Bug fix.
2001-01-27 00:13:55 +00:00
Dirk Herrmann
a49af0c0f7
* Fix parameter error reporting and avoid redundant parameter checks.
2001-01-26 18:04:32 +00:00
Dirk Herrmann
13070bd3b0
* Added missing includes of string.h.
2001-01-26 17:30:54 +00:00