1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-03 02:36:19 +02:00
Commit graph

4692 commits

Author SHA1 Message Date
Marius Vollmer
74355186f0 *** empty log message *** 2001-03-10 01:07:44 +00:00
Marius Vollmer
8b50fe8ed3 * posix.c: Replaced `#define' of __USE_XOPEN right before
including unistd.h with a define of _GNU_SOURCE at the very top of
the file.
2001-03-10 01:07:06 +00:00
Keisuke Nishida
783e777478 Remove #include <stdio.h>. Add #include <string.h>. 2001-03-09 23:33:41 +00:00
Keisuke Nishida
ffdeebc3a9 * readline.c: Add #include <stdio.h> 2001-03-09 23:31:55 +00:00
Mikael Djurfeldt
0c6f960254 * Makefile.am (psyntax.pp): Added rule for producing psyntax.pp. 2001-03-09 21:47:52 +00:00
Martin Grabmüller
a0f9c651b1 (scm_gethostname): Set initial name length to 256 for
Solaris.
2001-03-09 12:09:17 +00:00
Martin Grabmüller
9a677c37c8 * posix.c (scm_gethostname): Set initial name length to 256 for
Solaris.
2001-03-09 12:08:43 +00:00
Martin Grabmüller
94e6d79391 Added some new posix functions:
(scm_crypt, scm_chroot, scm_getlogin, scm_cuserid),
	(scm_getpriority, scm_setpriority, scm_getpass, scm_flock),
	(scm_sethostname, scm_gethostname): New procedures.
2001-03-09 10:03:47 +00:00
Martin Grabmüller
880c285882 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
test, dups are allowed in `let*' and are now expected to pass.
2001-03-09 09:44:26 +00:00
Neil Jerram
fff043abc0 Move doc files into guile-core distribution (7) 2001-03-09 09:35:13 +00:00
Neil Jerram
c2dc2842b6 Move doc files into guile-core distribution (6) 2001-03-09 09:20:46 +00:00
Neil Jerram
9cca936fb8 Move doc files into guile-core distribution (4) 2001-03-09 08:53:15 +00:00
Neil Jerram
009e2b3044 Move doc files into guile-core distribution (3) 2001-03-09 08:42:37 +00:00
Neil Jerram
4aa8647c0a Move doc files into guile-core distribution (2) 2001-03-09 08:28:57 +00:00
Neil Jerram
38a93523eb Move doc files into guile-core distribution (1) 2001-03-09 08:22:00 +00:00
Neil Jerram
da00aada47 Removed texinfo.tex 2001-03-09 08:16:16 +00:00
Neil Jerram
4bc59ee759 * Removed old copy of data-rep.texi. 2001-03-09 08:09:48 +00:00
Keisuke Nishida
a55134eded * match.scm: export defstruct. 2001-03-09 05:16:05 +00:00
Neil Jerram
650a1cf929 * Docstring fixes. 2001-03-09 00:21:27 +00:00
Mikael Djurfeldt
6798371657 *** empty log message *** 2001-03-08 19:36:35 +00:00
Mikael Djurfeldt
5e4a4d09fe * ramap.c (racp): Removed optimization which caused array copying
to fail if the two arrays shared storage.  Re-inserted the IVDEP
macros removed in the change of 2000-03-09.  (Don't really have a
complete grasp of what they are for, but they seem to be necessary
on Crays.  This needs testing!)  Thanks to Miroslav Silovic.
2001-03-08 19:34:41 +00:00
Mikael Djurfeldt
9636b49cd2 * hash.c (scm_string_hash): Don't downcase characters. 2001-03-08 18:14:33 +00:00
Mikael Djurfeldt
3ffd876ae8 *** empty log message *** 2001-03-08 18:06:46 +00:00
Mikael Djurfeldt
86b96c166b * psyntax.ss: Added FSF copyright notice. Added a notice of
changes in order to comply with paragraph 2a of the GPL.
2001-03-08 18:05:39 +00:00
Mikael Djurfeldt
04a4d6664a *** empty log message *** 2001-03-08 02:49:34 +00:00
Mikael Djurfeldt
a4c91488d3 * symbols.c, symbols.h (scm_sys_symbols): New function GUILE_DEBUG
function.
2001-03-08 02:46:38 +00:00
Mikael Djurfeldt
70ce100d8a * coop-threads.c: Fixed change of 2001-03-06. 2001-03-08 02:45:39 +00:00
Mikael Djurfeldt
e96452c4e4 * guile-config.in (build-link): Really reverted the change of
2001-03-05.
2001-03-08 02:43:20 +00:00
Mikael Djurfeldt
7566791171 Removed some junk 2001-03-08 02:06:02 +00:00
Neil Jerram
403a334593 * Don't set continuation flag for leading whitespace. 2001-03-07 23:03:37 +00:00
Keisuke Nishida
66418d3465 fix problems with gcc-2.96. 2001-03-07 06:06:16 +00:00
Dirk Herrmann
387c1a3bc0 * The last patch has introduced a bad-bindings bug. Since it was
unnecessary anyway, I simply reverted it.
2001-03-06 13:27:33 +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
Dirk Herrmann
d42df0557f * Don't include libguile/dump.h any more. 2001-03-06 01:00:18 +00:00
Neil Jerram
618196705b * Use "'()" instead of "()" in optargs.scm. 2001-03-05 23:52:09 +00:00
Neil Jerram
9155e458e0 * New module (ice-9 buffered-input); use it in (ice-9 readline). 2001-03-05 23:12:57 +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
417b11b41f * guile-config.in (build-link): Fixed duplicate binding bug
reported by Ralf Mattes.
2001-03-05 14:27:40 +00:00
Martin Grabmüller
c2ab898653 * guile-config.in (build-link): Fixed duplicate binding bug
reported by Ralf Mattes.
2001-03-05 14:26:55 +00:00
Dirk Herrmann
8bc4547c4e * Preserve the original error's stack for re-throwing. 2001-03-05 11:05:02 +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
b432fb4b99 * goops/compile.scm (compile-method): Tag method closure for body
expansion.

* goops.scm (change-object-class): Quote empty list constants.
(method): Reverted previous change (enclosing body);
Quote empty list.
(initialize <method>): Supply `dummy-procedure' as default instead
of creating a new closure.

* goops/internal.scm: Re-export (oop goops) without copying
bindings.
2001-03-04 20:46:34 +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
cc6c7feea4 * goops.scm (change-object-class): Quote empty list constants.
(method): Reverted previous change (enclosing body);
Quote empty list.
(initialize <method>): Pre-expand the method closure.
2001-03-04 05:28:21 +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