Neil Jerram
15bd90eafd
* hashtab.c (scm_hash_fn_create_handle_x): If supplied assoc_fn
...
returns neither a pair nor #f, signal a wrong-type-arg error.
(Thanks to Gregory Marton for reporting this.)
* tests/hash.test: New "hashx" test supplied by Gregory Marton;
prior to today's fix in libguile/hashtab.c, this caused a
segmentation fault.
2008-01-18 23:33:41 +00:00
Neil Jerram
5c004b6d6a
* gc.c (mark_gc_async): Change "func_data" to "fn_data", to avoid
...
clash with AIX header file.
* hooks.c (scm_c_hook_add, scm_c_hook_remove): Same again.
* hooks.h (scm_t_c_hook_function, scm_c_hook_add,
scm_c_hook_remove): Same again.
2007-12-29 01:35:33 +00:00
Ludovic Courtès
9cc37597af
Changes from arch/CVS synchronization
2007-12-08 16:00:56 +00:00
Ludovic Courtès
693758d5a8
Changes from arch/CVS synchronization
2007-12-04 17:57:44 +00:00
Ludovic Courtès
7d1fc87217
Changes from arch/CVS synchronization
2007-12-04 17:32:59 +00:00
Ludovic Courtès
dbd1132b9c
Changes from arch/CVS synchronization
2007-10-27 18:40:41 +00:00
Ludovic Courtès
8b0f07460a
Changes from arch/CVS synchronization
2007-10-27 17:41:35 +00:00
Ludovic Courtès
ee834df41f
Changes from arch/CVS synchronization
2007-10-27 15:15:23 +00:00
Neil Jerram
acbfb5946b
(unmemoize_delay): Extend the environment before
...
unmemoizing the promise thunk. This fixes a segmentation fault
reported by Frank Schwidom.
2007-10-21 20:43:14 +00:00
Ludovic Courtès
2e77f7202b
Changes from arch/CVS synchronization
2007-10-20 11:09:58 +00:00
Ludovic Courtès
d41668faec
Changes from arch/CVS synchronization
2007-10-17 21:56:10 +00:00
Ludovic Courtès
6630261802
Changes from arch/CVS synchronization
2007-10-10 16:46:26 +00:00
Ludovic Courtès
1445e4492f
Changes from arch/CVS synchronization
2007-10-04 16:22:05 +00:00
Ludovic Courtès
29776e85da
Changes from arch/CVS synchronization
2007-10-02 16:06:25 +00:00
Ludovic Courtès
61d3568bff
Changes from arch/CVS synchronization
2007-10-01 20:22:08 +00:00
Kevin Ryde
68eccd8bc2
*** empty log message ***
2007-09-11 00:47:34 +00:00
Kevin Ryde
5b7ecf1b30
(scm_putenv): Confine the putenv("NAME=") bit to mingw, use
...
putenv("NAME") as the fallback everywhere else. In particular this is
needed for solaris 9. Reported by Frank Storbeck.
2007-09-11 00:46:15 +00:00
Ludovic Courtès
454866e052
Changes from arch/CVS synchronization
2007-09-03 16:58:20 +00:00
Ludovic Courtès
f43f362018
Changes from arch/CVS synchronization
2007-09-02 22:56:56 +00:00
Kevin Ryde
8d4d5dfcf9
*** empty log message ***
2007-09-02 22:40:23 +00:00
Kevin Ryde
90709cd75f
(scm_log): Test HAVE_CLOG as well as HAVE_COMPLEX_DOUBLE
...
before using clog(). It's possible for gcc to provide the "complex
double" type, but for the system not to have the complex funcs.
(scm_exp): Ditto HAVE_CEXP for cexp().
(clog, cexp, carg): Remove fallback definitions. These only
duplicated the code within scm_log and scm_exp, and the latter have to
exist for the case when there's no "complex double". So better just
fix up the conditionals selecting between the complex funcs and plain
doubles than worry about fallbacks.
2007-09-02 22:36:23 +00:00
Ludovic Courtès
1ac5fb45bc
Changes from arch/CVS synchronization
2007-09-02 10:55:58 +00:00
Han-Wen Nienhuys
5dbc6c0679
replace port table with weak hash table. This simplifies
...
memory management, and fixes freed cells appearing in
port-for-each output.
2007-08-26 18:11:57 +00:00
Han-Wen Nienhuys
b87e6d0412
(cleanup_for_exit): abort cleanup if init_mutex is still
...
held.
2007-08-26 18:11:24 +00:00
Ludovic Courtès
492faee1e5
Changes from arch/CVS synchronization
2007-08-23 21:17:24 +00:00
Ludovic Courtès
2baec6a946
Changes from arch/CVS synchronization
2007-08-23 21:10:57 +00:00
Kevin Ryde
1f11c61a62
*** empty log message ***
2007-08-21 01:09:41 +00:00
Kevin Ryde
8f3aa0bd6a
(scm_i_card_statistics): Record scm_tc7_number types as
...
tc16 values so big, real, complex and fraction can be distinguished.
(scm_i_tag_name): Return "number" for scm_tc7_number, not NULL. NULL
was making numbers come out as "type 23" in gc-live-object-stats.
Fix tests of the tc16 number types, they were checked under
scm_tc7_number, but the values went down the tag>=255 smob case.
Put smob case under scm_tc7_smob instead of using tag>=255, per
recommendation in comments with scm_tc7_smob to use symbolic values.
Use SCM_TC2SMOBNUM to extract scm_smobs index, instead of explicit
code. Lose some unnecessary "break" statements.
(scm_i_card_statistics): Use scm_hashq_create_handle_x and modify the
element returned, rather than two lookups scm_hashq_ref and
scm_hashq_set_x.
2007-08-21 01:08:17 +00:00
Kevin Ryde
949ec9f963
*** empty log message ***
2007-08-16 23:34:58 +00:00
Kevin Ryde
9eec84a935
Add #define _REENTRANT, to get gmtime_r() prototype on
...
solaris 2.6. Reported by anirkko.
2007-08-16 23:33:46 +00:00
Ludovic Courtès
f743909974
Changes from arch/CVS synchronization
2007-07-29 15:16:46 +00:00
Ludovic Courtès
6caac03c93
Changes from arch/CVS synchronization
2007-07-29 14:58:21 +00:00
Ludovic Courtès
e08f3f7a30
Changes from arch/CVS synchronization
2007-07-24 23:17:54 +00:00
Ludovic Courtès
7337d56d57
Changes from arch/CVS synchronization
2007-07-22 16:30:13 +00:00
Ludovic Courtès
df44972273
Changes from arch/CVS synchronization
2007-07-17 08:39:35 +00:00
Ludovic Courtès
b1f57ea4ce
Changes from arch/CVS synchronization
2007-07-10 22:34:50 +00:00
Ludovic Courtès
d3075c52ac
Changes from arch/CVS synchronization
2007-06-25 22:25:22 +00:00
Ludovic Courtès
7a5fb79613
Changes from arch/CVS synchronization
2007-06-12 21:55:11 +00:00
Ludovic Courtès
a1ef740636
Changes from arch/CVS synchronization
2007-06-07 08:36:13 +00:00
Ludovic Courtès
3dcf33733c
Changes from arch/CVS synchronization
2007-05-26 14:30:50 +00:00
Ludovic Courtès
608860a5b3
Changes from arch/CVS synchronization
2007-05-05 20:38:57 +00:00
Ludovic Courtès
1911e3da17
Changes from arch/CVS synchronization
2007-04-17 14:12:17 +00:00
Han-Wen Nienhuys
1d8ce4c04d
* configure.in (HAVE_CRYPT): check for cexp, clog, carg
...
* numbers.c (carg): provide carg, cexp, clog in case they are
missing.
2007-04-09 14:47:41 +00:00
Ludovic Courtès
afb49959b0
Changes from arch/CVS synchronization
2007-03-27 08:03:33 +00:00
Kevin Ryde
29d8c12436
fixup Ludovic's name 2006-01-04, got a literal ascii "E8", somehow
2007-03-07 23:39:42 +00:00
Kevin Ryde
b3aa4626cd
merge from 1.8 branch
2007-03-07 23:35:55 +00:00
Kevin Ryde
65ae4d2d69
copyright year
2007-03-07 23:13:04 +00:00
Kevin Ryde
651f2cd27d
merge from 1.8 branch
2007-03-07 23:12:36 +00:00
Neil Jerram
652dbce648
(noinst_HEADERS): Add private-options.h, so that it
...
is included in the distribution.
(noinst_HEADERS): And the same for eval.i.c.
2007-02-19 23:00:07 +00:00
Neil Jerram
0329137392
(noinst_HEADERS): Add private-options.h, so that it
...
is included in the distribution.
2007-02-19 07:50:08 +00:00