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

3680 commits

Author SHA1 Message Date
Rob Browning
4f43d1f282 (guile_LDADD): add libguile-ltdl.la to keep
./pre-inst-guile (actually ./.libs/lt-guile) from failing on some
architectures.  The unconfirmed suspicion is that this is some
problem with autotools (automake, autoconf, and/or libtool) since
libguile already includes a libguile-ltdl.la dependency.
2004-12-19 15:19:06 +00:00
Kevin Ryde
6694258059 *** empty log message *** 2004-12-15 22:58:25 +00:00
Kevin Ryde
1885f42093 (scm_array_map_x): Correction to sources list check, only
need at least one source, not two.  And use SCM_WRONG_NUM_ARGS() for
the error.
2004-12-15 22:54:54 +00:00
Kevin Ryde
6255e812dc *** empty log message *** 2004-12-08 22:56:52 +00:00
Kevin Ryde
0e66d88fa2 (scm_istr2int): Correction to bignum size calculation for
bases other than 2, 10, 16.  This avoids overflows, in particular in
octal string->number and constants (other bases are undocumented, but
reach here so may as well work).
2004-12-08 22:50:09 +00:00
Kevin Ryde
abafc12d3d (scm_istr2int): Correction to overflow test, should be
"blen >= j" not "blen > j", since after blen++ the k<blen loop will
have k==j which is past the end of the j length array and overwrites
data, leading to segvs in certain circumstances.  And put the test
only before the blen++, which is the only place it can overflow, and
since we can legitimately get to blen==j with t2==0 when filling the
high word of the bignum.
2004-12-08 22:29:36 +00:00
Kevin Ryde
1204ecc349 (scm_execle): Correction to memory leak change, need to restore errno. 2004-12-02 00:10:54 +00:00
Kevin Ryde
1f97913e2e *** empty log message *** 2004-12-02 00:10:15 +00:00
Kevin Ryde
dfa3289e76 *** empty log message *** 2004-11-29 21:19:16 +00:00
Kevin Ryde
be21209c1a (NetBSD): Test __m68k__ and __arm__ as well as m68k and
arm32.  Reported by Greg Troxel.
2004-11-29 21:18:15 +00:00
Marius Vollmer
6887d541ce *** empty log message *** 2004-11-04 17:12:07 +00:00
Marius Vollmer
b11b1bd4c1 (scm_charnames, scm_charnums): Added "sp" as an alias for "space".
Thanks to Bruce Korb!
2004-11-04 17:11:59 +00:00
Marius Vollmer
c88a951fd4 *** empty log message *** 2004-09-29 15:59:01 +00:00
Marius Vollmer
0f63e88d5d (scm_array_equal_p): Include scm_tc7_svect in switch. Thanks to
Roland Orre!
2004-09-29 15:58:19 +00:00
Rob Browning
cfa8856006 *** empty log message *** 2004-09-20 06:01:15 +00:00
Rob Browning
b4393f8b3c (scm_compile_shell_switches): Update copyright. 2004-09-20 05:46:56 +00:00
Rob Browning
7987378bd3 *** empty log message *** 2004-09-20 05:45:39 +00:00
Rob Browning
6ce15cabc5 (scm_set_smob_apply): Back out scm_remember_upto_here_1 addition from
yesterday.  It worked, but wasn't the "right" fix since tc is not
subject to GC and has the wrong type.  Instead, rearrange the code in
a way that also avoids the segfault.  Thanks to Sam Hocevar.
2004-09-20 05:43:15 +00:00
Rob Browning
e63bb69d27 *** empty log message *** 2004-09-20 03:47:15 +00:00
Rob Browning
8d0c5006b9 (scm_set_smob_apply): protect tc value with scm_remember_upto_here_1.
Problem was noticed when m68k build segfaulted on document generation.
Reported by Sam Hocevar <sam@zoy.org> (thanks).
2004-09-20 03:47:07 +00:00
Kevin Ryde
f86d524a89 (scm_getc, scm_lfwrite): Recognise \a \b and \r for port column. 2004-09-09 00:10:02 +00:00
Kevin Ryde
5a8d151e8a *** empty log message *** 2004-09-09 00:02:08 +00:00
Kevin Ryde
d987a73787 (SCM_ZEROCOL, SCM_DECCOL): New macros. 2004-09-09 00:01:08 +00:00
Marius Vollmer
ce76fac1fe *** empty log message *** 2004-09-07 15:51:49 +00:00
Marius Vollmer
414f3b7c9d * gc.h (SCM_SET_FREE_CELL_TYPE): New macro.
* gc.c (init_heap_seg): Use it instead of SCM_SET_CELL_TYPE, which
might cause unwanted checking with SCM_DEBUG_CELL_ACCESSES.
2004-09-07 15:50:36 +00:00
Kevin Ryde
76c6d134b2 *** empty log message *** 2004-09-07 00:09:36 +00:00
Kevin Ryde
eaaf29a278 (scm_nice): Correction to error detection. Reported by
Matthias Koeppe.
2004-09-07 00:08:42 +00:00
Han-Wen Nienhuys
459cf1f259 (scm_init_guile_1): move scm_weaks_prehistory before
scm_struct_prehistory. The effect is that structs are freed before
weak vectors are cleaned up. This fixes a bug reported by Kevin
Ryde (putting a struct into a weak vector exposes a freed cell).
2004-08-31 21:44:46 +00:00
Rob Browning
d99217eb04 *** empty log message *** 2004-08-29 23:03:46 +00:00
Rob Browning
2c9656e8c7 (s_scm_array_map_x): update documentation; rename ra0 to
dest, and lra to sources; don't allow (and segfault on) calls
without source arrays, i.e. don't allow (array-map! x proc).
(ramap_1): minor code reformatting.
2004-08-29 23:02:53 +00:00
Kevin Ryde
d2b789516a *** empty log message *** 2004-08-27 01:16:40 +00:00
Kevin Ryde
1155d5ebe2 (scm_fill_sockaddr): Use HAVE_STRUCT_SOCKADDR_SIN_LEN and
HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN for sockaddr fields, SIN_LEN and
SIN_LEN6 are not defined on all systems.  Reported by Michael Tuexen.
2004-08-27 01:12:52 +00:00
Kevin Ryde
88596b9f71 *** empty log message *** 2004-08-17 23:55:53 +00:00
Kevin Ryde
2736b01a86 *** empty log message *** 2004-08-17 23:49:50 +00:00
Kevin Ryde
7caf322c41 (scm_init_socket): Add SOCK_SEQPACKET and SOCK_RDM. 2004-08-17 23:49:09 +00:00
Marius Vollmer
44815b899d *** empty log message *** 2004-08-11 19:48:55 +00:00
Marius Vollmer
aba341b68f (scm_init_storage, scm_stand_in_procs,
scm_stand_in_proc): Use a hastable for scm_stand_in_procs instead
of an alist.  Thanks to Matthias Koeppe!
2004-08-11 19:48:26 +00:00
Kevin Ryde
98aaa52419 *** empty log message *** 2004-08-10 00:25:37 +00:00
Kevin Ryde
5cb0151510 (scm_putenv): Use unsetenv to remove entries (ie. no "="),
when available, for the benefit of FreeBSD and other systems where
putenv() doesn't do that itself.
2004-08-10 00:19:47 +00:00
Rob Browning
a00712e490 *** empty log message *** 2004-08-07 03:37:20 +00:00
Rob Browning
c83d179009 (scm_resolv_error): don't put bad_value in the format string
value arguments when calling scm_error since none of the format
strings actually have escapes for the values.
2004-08-07 03:36:38 +00:00
Kevin Ryde
421dccbcef *** empty log message *** 2004-08-06 01:07:17 +00:00
Kevin Ryde
bc91b91e8f (scm_array_fill_x): For byvect char fill, force signed char
so as not to depend on signedness of plain char.  For byvect range
check, throw out-of-range rather than wrong-type-arg.
2004-08-06 01:02:05 +00:00
Kevin Ryde
29da36e4ab (scm_uniform_vector_ref): For byvect, force signed char so as
not to depend on C char signedness.
(scm_array_set_x): For byvect, add range check, per array-fill!.
2004-08-06 00:47:24 +00:00
Kevin Ryde
d6c803c761 *** empty log message *** 2004-08-05 01:38:24 +00:00
Kevin Ryde
b412b5a619 (scm_copy_file): Use fstat on the input fd rather than
stat on the filename, to be certain a file rename can't mean we get
info on one filesystem object but open another.  This fstat usage is
similar to Emacs copy-file.
2004-08-05 01:33:08 +00:00
Marius Vollmer
45ba1d0060 *** empty log message *** 2004-08-04 21:28:02 +00:00
Marius Vollmer
3c14f331d6 (environ): Use _NSGetEnviron in Darwin shared library, since environ
is not directly available there.
2004-08-04 21:27:33 +00:00
Kevin Ryde
c6dcb9a9f9 *** empty log message *** 2004-07-31 01:35:14 +00:00
Kevin Ryde
67305bc7a8 (scm_copy_file): Avoid fd leak when destination file cannot be opened. 2004-07-31 01:32:29 +00:00