1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-05 15:10:27 +02:00
Commit graph

9141 commits

Author SHA1 Message Date
Gary Houston
0de97b83c0 * fports.c (scm_fdes_to_port): always set rw_random if the fdes is
random access.  rw_active needs to be maintained even for single
	directional ports, otherwise scm_seek and probably other things are
	broken.  (thanks to Roland Orre).

	* strports.c (scm_mkstrport): set rw_random to 1 unconditionally.

	* ports.c (scm_add_to_port_table): initialise rw_random to 0.

	* ports.h (scm_port): change the comments on rw_random and rw_active.
1999-10-18 20:49:29 +00:00
Mikael Djurfeldt
e173f7f18b *** empty log message *** 1999-10-11 17:42:01 +00:00
Mikael Djurfeldt
5390d7c79c Regenerated 1999-10-11 17:41:05 +00:00
Mikael Djurfeldt
b3ad310304 * Makefile.am (libguile_la_LDFLAGS): Bumped libguile version. 1999-10-11 17:40:45 +00:00
Mikael Djurfeldt
453e9dac93 * tags.h (SCM_IM_DELAY): New immediate symbol. 1999-10-11 17:40:32 +00:00
Mikael Djurfeldt
ccd0e478a6 * print.c (scm_isymnames): Printed representation. 1999-10-11 17:40:19 +00:00
Mikael Djurfeldt
c85897471a * ioext.c: Added #include "feature.h". 1999-10-11 17:40:06 +00:00
Mikael Djurfeldt
6b10ed8be1 * eval.c, eval.h (scm_sym_delay): New global symbol. 1999-10-11 17:39:37 +00:00
Mikael Djurfeldt
a570e93a25 * eval.c, eval.h (scm_sym_delay): New global symbol.
* eval.c (unmemocopy, SCM_CEVAL): Handle SCM_IM_DELAY.
(scm_m_delay): Turned into a memoizing macro.
1999-10-11 17:39:24 +00:00
Jim Blandy
1ab45872f0 *** empty log message *** 1999-10-11 16:54:05 +00:00
Jim Blandy
0acef67a14 * gh_data.c (gh_ints2scm, gh_doubles2scm): Make sure elements are
protected from GC while building the vector.  (Thanks to Bernard
Urban and Greg Harvey.)
1999-10-11 16:53:50 +00:00
Mikael Djurfeldt
0573ddaea3 *** empty log message *** 1999-10-08 10:46:38 +00:00
Mikael Djurfeldt
8569180634 * throw.c (handler_message): Display backtrace if backtraces
enabled.
1999-10-08 10:46:26 +00:00
Jim Blandy
0cbedb5b2b *** empty log message *** 1999-10-05 22:36:14 +00:00
Jim Blandy
0c1221ab9c *** empty log message *** 1999-10-05 20:49:29 +00:00
Jim Blandy
a65750a309 * Makefile.in, scmconfig.h.in: Deleted from CVS repository. Run
the autogen.sh script to create generated files like these.
1999-10-05 19:08:37 +00:00
Jim Blandy
80f2710274 *** empty log message *** 1999-10-05 19:00:38 +00:00
Jim Blandy
3eb7e6ee5e * numbers.c (scm_string_to_number): Signal an error if radix is
less than two.  (Thanks to Jorgen Schaefer.)

* print.c (scm_write, scm_display, scm_newline, scm_write_char):
Don't assume that the current output port is valid.  Somebody
might close it.  (Thanks to Bernard Urban.)
1999-10-05 18:57:31 +00:00
Jim Blandy
dc4d930b43 *** empty log message *** 1999-10-02 23:53:13 +00:00
Jim Blandy
3b307d439d * Makefile.am (EXTRA_libguile_la_SOURCES): fix typo. 1999-10-02 23:01:46 +00:00
Jim Blandy
eb33e4d702 * scmconfig.h.in: Add comments for HAVE_POSIX and HAVE_NETWORKING. 1999-10-02 23:01:14 +00:00
Jim Blandy
7b7148d8ef Revert back to text generated by automake 1.4. 1999-10-02 22:57:38 +00:00
Greg J. Badros
fca7547b1a Fix my last commit -- DEBUG_FREELIST renamed to GUILE_DEBUG_FREELIST 1999-09-28 00:54:26 +00:00
Greg J. Badros
0b307a34d1 *** empty log message *** 1999-09-28 00:18:34 +00:00
Greg J. Badros
bfc69694be * __scm.h: Fix a bunch of macros that were missing do-while(0)
sandwiches.

* debug.c, eval.c: Fix buggy uses of SCM_ALLOW_INTS (missing
semicolon) exposed by the above change.
1999-09-28 00:18:16 +00:00
Greg J. Badros
155265386a *** empty log message *** 1999-09-27 23:35:33 +00:00
Greg J. Badros
25748c78cf * stacks.c: Avoid compiler warning re: unitialized var.
* scmconfig.h.in: Added DEBUG_FREELIST

* pairs.h: Fix macro that was not do-while(0) sandwiched.

* gc.h, gc.c: Added scm_gc_set_debug_check_freelist_x,
scm_map_free_list
1999-09-27 23:30:36 +00:00
Gary Houston
52cfc69be6 support new configure options: --disable-posix, --disable-net
and --disable-regex.
1999-09-26 16:00:36 +00:00
Jim Blandy
e59373d65f *** empty log message *** 1999-09-25 23:41:59 +00:00
Jim Blandy
4ea1f83d91 * root.c (scm_make_root): Initialize all the fields of the new
root.  GC could happen any time, you know.  (Thanks to Greg
Harvey.)
1999-09-25 23:41:09 +00:00
Jim Blandy
8854e65479 *** empty log message *** 1999-09-25 23:13:09 +00:00
Jim Blandy
d4a2839e92 * numbers.c (scm_number_to_string): Signal an error if radix is
less than two.  (Thanks to Jorgen Schaefer.)
1999-09-25 23:11:23 +00:00
Jim Blandy
bab4e1ccba *** empty log message *** 1999-09-25 17:27:37 +00:00
Jim Blandy
60a059e680 * Makefile.am (EXTRA_libguile_la_SOURCES): Add memmove.c here,
so automake will actually generate rules for it.
* Makefile.in: Regenerated.
1999-09-25 17:26:14 +00:00
Jim Blandy
0dcad30f73 *** empty log message *** 1999-09-22 04:37:18 +00:00
Jim Blandy
2fb362976f * backtrace.c: #include "_scm.h" before testing whether
HAVE_UNISTD_H is #defined.
1999-09-22 04:36:56 +00:00
Jim Blandy
24e720c8d5 *** empty log message *** 1999-09-20 23:36:16 +00:00
Jim Blandy
4cc81ec6ca * read.c (scm_read): Don't assume that scm_cur_inp is always open.
* ports.c (scm_read_char): Same.
* ioext.c (scm_read_line): Same.
(Thanks to Bernard Urban.)
1999-09-20 23:34:57 +00:00
Mikael Djurfeldt
920ffdaa76 *** empty log message *** 1999-09-20 23:05:51 +00:00
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
Mikael Djurfeldt
ff725a178e Fix 1999-09-20 22:25:10 +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
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
8cc9503dc0 *** empty log message *** 1999-09-16 11:51:49 +00:00