1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 07:30:28 +02:00
Commit graph

5705 commits

Author SHA1 Message Date
Mikael Djurfeldt
2cc4167286 * vectors.c (scm_vector_move_right_x): Bugfix: Remove side effect
in SCM_ASSERT macro.
numbers.c: Removed #ifndef SCM_RECKLESS at places where type
checking may invoke a generic.  (Thanks to Michael Livshin.)
1999-09-20 23:01:33 +00:00
Jim Blandy
d033ad5377 *** empty log message *** 1999-09-20 22:52:08 +00:00
Jim Blandy
f88fdc6e32 * tests/regexp.test: Check regexp-substitute/global when there are
no matches.  (Duh.)
1999-09-20 22:52:02 +00:00
Jim Blandy
83c0c66087 *** empty log message *** 1999-09-20 22:42:04 +00:00
Mikael Djurfeldt
ff725a178e Fix 1999-09-20 22:25:10 +00:00
Mikael Djurfeldt
3a8514f7e7 *** empty log message *** 1999-09-20 22:17:14 +00:00
Mikael Djurfeldt
73ef98d674 Fix 1999-09-20 22:10:38 +00:00
Mikael Djurfeldt
b3c8a0f568 * __scm.h (SCM_WTA_DISPATCH_0, SCM_GASSERT0): New macros. 1999-09-20 22:09:21 +00:00
Gary Houston
de881428b8 typing correction 1999-09-20 22:04:51 +00:00
Mikael Djurfeldt
afe93bdb38 *** empty log message *** 1999-09-20 21:52:48 +00:00
Mikael Djurfeldt
0e3aa89fda * numbers.c (scm_max, scm_min, scm_sum, scm_difference,
scm_product, scm_divide): Bugfix: Don't pass SCM_UNDEFINED to the
generic function if the asubr is called with only one arg.
1999-09-20 21:51:50 +00:00
Gary Houston
7ee92fcefd * configure.in: check availability of siginterrupt.
* scmsigs.c (scm_sigaction): add SA_RESTART to flags only if
	HAVE_RESTARTABLE_SYSCALLS.
	(scm_init_scmsigs): use siginterrupt if it's available.  not
	everyone who has restartable syscalls has SA_RESTART it seems.
	(scm_sigaction): use scm_num2long/scm_long2num when converting
	SIG_DFL/SIG_IGN, in case it doesn't fit in an INUM.  use
	scm_integer_p to test the type.
1999-09-20 21:32:23 +00:00
Mikael Djurfeldt
240ed66f84 *** empty log message *** 1999-09-19 14:37:31 +00:00
Mikael Djurfeldt
daf516d661 *** empty log message *** 1999-09-19 14:35:53 +00:00
Jim Blandy
d4c83f63ff *** empty log message *** 1999-09-19 01:01:25 +00:00
Mikael Djurfeldt
394a535ed0 *** empty log message *** 1999-09-19 00:00:01 +00:00
Jim Blandy
293b302524 *** empty log message *** 1999-09-18 22:19:39 +00:00
Jim Blandy
0ade87701e *** empty log message *** 1999-09-18 22:13:54 +00:00
Gary Houston
913238c5b4 regenerated Makefile.in 1999-09-18 19:09:25 +00:00
Gary Houston
08b8c6948d 1999-09-18 Gary Houston <ghouston@freewire.co.uk>
* configure.in: use AC_SYS_RESTARTABLE_SYSCALLS instead of
	testing for SA_RESTART.

1999-09-18  Gary Houston  <ghouston@freewire.co.uk>

	* _scm.h, scmsigs.c: replace HAVE_RESTARTS with
	HAVE_RESTARTABLE_SYSCALLS.
1999-09-18 17:13:38 +00:00
Gary Houston
e684c60f44 1999-09-18 Gary Houston <ghouston@freewire.co.uk>
* strports.c (scm_strport_to_string): create the string from
	pt->read_buf instead of an expression that evaluates to the
	same thing.

	* gdbint.c (gdb_print): don't just use SCM_CHARS to get a C string
	from the port: the port's buffer may not be NUL terminated.
1999-09-18 08:36:35 +00:00
Mikael Djurfeldt
46a47bedc2 Regenerated 1999-09-17 18:54:09 +00:00
Jim Blandy
8ae4d7ba12 Fix name of snapshot directory. 1999-09-17 17:10:50 +00:00
Jim Blandy
14a7a25d4d Run automake after everything else, as per Tom Tromey's advice. 1999-09-17 17:10:25 +00:00
Jim Blandy
f89a27fae7 *** empty log message *** 1999-09-17 17:09:38 +00:00
Jim Blandy
18f468f8ca *** empty log message *** 1999-09-17 16:40:50 +00:00
Mikael Djurfeldt
09cbffcde1 *** empty log message *** 1999-09-16 23:45:11 +00:00
Mikael Djurfeldt
e385639ebb * debugger.scm (read-and-dispatch-commands): Handle other throws
than 'exit-debugger.
1999-09-16 23:44:54 +00:00
Mikael Djurfeldt
8087b6be5a * boot-9.scm (before-signal-stack): New fluid.
(top-repl): Set before-signal-stack in the signal handler.
1999-09-16 23:44:33 +00:00
Mikael Djurfeldt
4c59297c68 *** empty log message *** 1999-09-16 22:42:36 +00:00
Mikael Djurfeldt
318a34eeb6 * debugger.scm (eval-handler): Handle unhandled exceptions. 1999-09-16 22:42:11 +00:00
Mikael Djurfeldt
b50408e5db *** empty log message *** 1999-09-16 21:26:46 +00:00
Mikael Djurfeldt
8b8fd2e3ce * debugger.scm ("p"): New alias for "evaluate";
Mark module with :no-backtrace.
("position"): New command.
(source-position, display-position): New procedures.
(display-source): Display position of expression, if available.
(catch-user-errors): Return #f on error.  (Commands are expected
to return a valid state.)
(read-and-dispatch-command): Bugfix: Return old state on error.
1999-09-16 21:26:27 +00:00
Jim Blandy
bbfba54575 *** empty log message *** 1999-09-16 20:10:31 +00:00
Jim Blandy
f564140129 * regex.scm (regexp-substitute/global): Handle the end of the
match list and an empty match list identically.  (Thanks to Greg
Badros.)
1999-09-16 20:09:46 +00:00
Mikael Djurfeldt
8cc9503dc0 *** empty log message *** 1999-09-16 11:51:49 +00:00
Mikael Djurfeldt
95042d95f0 * Makefile.am (.c.x): Added missing semicolon after `false'. 1999-09-16 11:51:02 +00:00
Mikael Djurfeldt
ca95609d5b * Makefile.am (.c.x): Use same rule as in libguile. 1999-09-16 11:50:49 +00:00
Mikael Djurfeldt
86a4d62e37 *** empty log message *** 1999-09-16 00:34:21 +00:00
Mikael Djurfeldt
26405bc156 *** empty log message *** 1999-09-15 17:47:13 +00:00
Mikael Djurfeldt
4b3324a35f *** empty log message *** 1999-09-15 17:35:14 +00:00
Mikael Djurfeldt
8b840115f8 * print.c (scm_iprin1): Turned write' and display' into
primitive generics and use their associated generic functions in
scm_iprin1 for GOOPS objects.
1999-09-15 17:33:58 +00:00
Mikael Djurfeldt
44fdbfc668 Use egrep for better compatibility. 1999-09-15 15:55:06 +00:00
Mikael Djurfeldt
c0f87beb86 Fix 1999-09-15 15:42:16 +00:00
Mikael Djurfeldt
8c592a9387 *** empty log message *** 1999-09-15 15:28:44 +00:00
Mikael Djurfeldt
48fadf497f * tests/c-api.test: New file. Add test to check that all source
files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1999-09-15 15:27:49 +00:00
Mikael Djurfeldt
5eb548fc54 *** empty log message *** 1999-09-15 15:22:58 +00:00
Mikael Djurfeldt
b1508ade39 * backtrace.c: #include <unistd.h> if present. 1999-09-15 15:22:07 +00:00
Mikael Djurfeldt
2834f3fe11 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
`write' and `newline' since write-line doesn't write but displays.
1999-09-15 15:21:25 +00:00
Jim Blandy
77e3c5beb4 *** empty log message *** 1999-09-15 03:34:45 +00:00