Rob Browning
e43af77c81
(s_scm_ctermid): Use a fixed size buffer of length
...
L_ctermid for the ctermid() result rather than passing NULL and
expecting a static pointer. This fixes a problem caused when
glibc sets a __nonnull attribute for ctermid() whenever
__USE_XOPEN is defined.
2005-10-15 01:54:54 +00:00
Kevin Ryde
a58d910c1c
*** empty log message ***
2005-08-12 01:11:37 +00:00
Kevin Ryde
0aae457a4a
(st_flush): Increase buffer by 1.5x when growing, to
...
avoid lots of copying where previoulsy growing by only 80 bytes at a
time.
2005-08-12 00:59:49 +00:00
Marius Vollmer
141de6078d
*** empty log message ***
2005-07-31 23:53:49 +00:00
Marius Vollmer
b201e75aaa
(scm_eval_closure_module): Removed, we already have
...
scm_lookup_closure_module, which does the same thing.
2005-07-31 23:49:03 +00:00
Kevin Ryde
5cdf9a33d4
*** empty log message ***
2005-07-12 00:09:29 +00:00
Kevin Ryde
681d09ce5e
(main): Revert change by Han-Wen, "extern
...
*lt_preloaded_symbols" is not right. (Instead define the struct in
guile-ltdl.h to make gcc 4 happy.)
2005-07-12 00:04:38 +00:00
Han-Wen Nienhuys
05d44505b8
*** empty log message ***
2005-06-19 13:27:50 +00:00
Han-Wen Nienhuys
bde70eddce
(main): use pointer iso. array. This fixes compile error
...
on GCC 4.
2005-06-19 13:12:00 +00:00
Neil Jerram
8a5f4a307f
(scm_source_properties): Use SCM_NECONSP instead of
...
SCM_NCONSP in arg validation.
(scm_set_source_properties_x): Ditto.
(scm_set_source_property_x): Ditto.
2005-06-07 19:16:12 +00:00
Kevin Ryde
3f5f8f832b
*** empty log message ***
2005-06-05 21:23:24 +00:00
Kevin Ryde
2e4b615a10
(scm_string_split): Compare char/char in scan. Mixing an
...
unsigned int SCM_CHAR and a char string meant an 8-bit char was never
matched.
2005-06-05 21:22:47 +00:00
Marius Vollmer
7d81830dd2
The FSF has a new address.
2005-05-23 20:15:36 +00:00
Marius Vollmer
bde1a86295
New versions of the GPLand LGPL with the new address of the FSF.
2005-05-23 19:01:31 +00:00
Kevin Ryde
a04f57dbfe
*** empty log message ***
2005-04-29 22:56:57 +00:00
Kevin Ryde
1c9c30b6b2
(scm_divide): Correction to 1/complex and <any>/complex,
...
need to test abs(re)<abs(im) for choice of cases, otherwise divide by
zero when re==0 and im<0. Reported by Jean Crepeau.
2005-04-29 22:54:35 +00:00
Kevin Ryde
5cc196c863
*** empty log message ***
2005-04-25 00:11:01 +00:00
Kevin Ryde
09cd7e1d3a
(scm_array_map_x): Allow no source args, add num args checks
...
to subr_1, subr_2, subr_2o and cxr cases.
2005-04-25 00:07:58 +00:00
Kevin Ryde
c5930bd781
*** empty log message ***
2005-04-22 23:48:36 +00:00
Kevin Ryde
f98f48bd06
(scm_cons_star): Don't modify the rest list, it belongs to
...
the caller when cons* is reached through apply.
2005-04-22 23:47:52 +00:00
Kevin Ryde
36ef49fbb4
(list): Use scm_list_copy, so as to produce a fresh list when
...
list is called using apply, under the debugging evaluator.
(scm_list): Remove.
2005-04-22 23:47:10 +00:00
Kevin Ryde
c581c8eb55
*** empty log message ***
2005-03-25 20:57:03 +00:00
Kevin Ryde
1db3c9000f
Change from the head 2004-04-06 by Han-Wen Nienhuys:
...
Fixes srfi-13 string-index segv on strings containing 8-bit
characters, reported by Alexey Voinov.
* chars.h (SCM_MAKE_CHAR): add (unsigned char) cast. This prevents
havoc when hi-bit ASCII is subjected to SCM_MAKE_CHAR().
2005-03-25 20:54:09 +00:00
Kevin Ryde
b12fc874dc
*** empty log message ***
2005-02-20 22:57:06 +00:00
Kevin Ryde
1bbf2cb8cd
(scm_istr2flo): In polar form angle part, use SCM_INEXACTP
...
not SCM_SLOPPY_INEXACTP, since recursive scm_istr2flo can give #f.
Reported by Rafael Avila de Espíndola.
2005-02-20 22:52:01 +00:00
Kevin Ryde
37666d49b9
*** empty log message ***
2005-01-23 22:02:40 +00:00
Kevin Ryde
7398c4370a
(scm_setlocale): Force errno=EINVAL for an error, since
...
POSIX and C99 don't document errno being set. Reported by Bruno
Haible.
2005-01-23 21:57:17 +00:00
Marius Vollmer
71d1dd79b7
*** empty log message ***
2005-01-17 19:05:03 +00:00
Marius Vollmer
ba96ba4cdc
* objects.h, objects.c (scm_classes_initialized): New.
...
(scm_class_of): Signal error when scm_classes_initialized is zero.
* goops.c (create_standard_classes): Set scm_classes_initialized
to one.
2005-01-17 19:04:54 +00:00
Marius Vollmer
79486f9fdb
*** empty log message ***
2005-01-10 20:28:47 +00:00
Marius Vollmer
1882a272f7
(scm_eval): Added example to docstring. Thanks to Issac
...
Trotts!
2005-01-10 20:25:39 +00:00
Neil Jerram
f268660d1e
Fix making a stack from a continuation (ChangeLog).
2004-12-27 23:21:09 +00:00
Neil Jerram
6686011779
Fix making a stack from a continuation, and related functions.
2004-12-27 23:19:30 +00:00
Rob Browning
660ab63ded
*** empty log message ***
2004-12-19 15:19:15 +00:00
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