Rob Browning
0af390c729
*** empty log message ***
2006-07-19 06:28:36 +00:00
Rob Browning
ff0ce31c65
Add __attribute__ ((returns_twice)) to the ia64_getcontext prototype
...
so that gcc will make the right arrangements and avoid an illegal
instruction during call-with-current-continuation.
2006-07-19 06:20:05 +00:00
Kevin Ryde
1415be2578
*** empty log message ***
2006-07-06 02:05:36 +00:00
Kevin Ryde
62e7d047df
(bdtime2c): tm_gmtoff is seconds East, so take negative of
...
tm:gmtoff which is seconds West. Reported by Aaron VanDevender.
(bdtime2c): Test HAVE_STRUCT_TM_TM_GMTOFF for tm_gmtoff, rather than
HAVE_TM_ZONE.
(scm_strptime): Use tm_gmtoff from the strptime result when that field
exists, it's set by glibc strptime "%s".
2006-07-06 02:05:01 +00:00
Kevin Ryde
99f4af3672
*** empty log message ***
2006-06-03 23:35:36 +00:00
Kevin Ryde
dd0d4238d3
(EXTRA_DOT_X_FILES): Typo in dependency rule, was a
...
duplicate of EXTRA_DOT_DOC_FILES.
2006-06-03 23:33:08 +00:00
Rob Browning
40e0bf0795
*** empty log message ***
2006-05-24 05:58:49 +00:00
Rob Browning
c0353b92eb
(scm_compile_shell_switches): Update copyright.
2006-05-24 05:49:27 +00:00
Rob Browning
5a50747466
*** empty log message ***
2006-05-14 21:02:02 +00:00
Rob Browning
7c72d4e172
(skip_scsh_block_comment): Recognize "!#" everywhere, not just on a
...
line of its own. (Backport 1.8 fix by Marius Vollmer
<mvo@zagadka.de>.)
2006-05-14 21:01:44 +00:00
Kevin Ryde
eebe98f0f3
*** empty log message ***
2006-04-09 01:03:51 +00:00
Kevin Ryde
2538a0f551
(scm_must_realloc): Actually resize down when requested, in
...
particular adjust scm_mallocated so that when bignums are trimmed by
scm_i_adjbig the net effect (after gc) on scm_mallocated is 0. Test
case in gc.test.
2006-04-09 01:03:17 +00:00
Kevin Ryde
d3b74defb1
*** empty log message ***
2006-04-09 00:24:20 +00:00
Kevin Ryde
e3cbcc57ba
(scm_remove_from_port_table): Report freed ptab entry size
...
with scm_done_free, matching scm_must_malloc in scm_add_to_port_table.
2006-04-09 00:13:16 +00:00
Kevin Ryde
38ed76f413
*** empty log message ***
2006-04-06 00:23:15 +00:00
Kevin Ryde
e47b236d6d
(scm_setvbuf): Fix for not _IOLBF, clear SCM_BUFLINE
...
instead of toggling it. Reported by Ludovic Courtès.
2006-04-06 00:16:44 +00:00
Kevin Ryde
40745b8ca1
*** empty log message ***
2006-02-02 21:19:39 +00:00
Kevin Ryde
e204ca913f
(scm_list): Restore this function for use from C.
...
It's a complete no-op but in theory might used by someone.
2006-02-02 21:17:07 +00:00
Neil Jerram
5a2e8010d4
(EXIT_NESTED_DATA): Before popping from the stack, reset
...
the value at its top. This fixes a reference leak.
(PUSH_REF): Perform `pstate->top++' after setting the next stack
slot to make the code clearer. (Thanks to Ludovic Courtès for
this patch.)
2006-01-07 23:01:22 +00:00
Marius Vollmer
7099174768
*** empty log message ***
2005-12-06 22:57:55 +00:00
Marius Vollmer
804fa981ae
(scm_find_executable): Compile fix -- fgetc returns an
...
unsigned char cast to an int, or -1 for EOS.
2005-12-06 22:57:42 +00:00
Rob Browning
5bc79276df
*** empty log message ***
2005-10-15 01:56:17 +00:00
Rob Browning
042121e055
Use socklen_t for socket calls whenever it is
...
available and appropriate. This fixes some type problems on
systems (recent linux) where int wasn't quite right. If
HAVE_SOCKLEN_T isn't defined, then revert to int. This is a
short-term fix, local to socket.c, and will be addressed more
generally in the next major release.
(ipv6_net_to_num): Change the argument type from "const char *" to
"const unsigned char *" to match the sign of the s6_addr type.
(ipv6_num_to_net): Change the argument type from "const char *" to
"const unsigned char *" to match its usage.
(s_scm_inet_pton): Use unsigned type when calling ipv6_net_to_num.
(s_scm_inet_ntop): Use unsigned type when calling ipv6_net_to_num.
(s_scm_getsockopt): Use scm_socklen_t rather than int.
(s_scm_accept): Use socklen_t rather than int.
(s_scm_getsockname): Use socklen_t rather than int.
(s_scm_getpeername): Use socklen_t rather than int.
(s_scm_recvfrom): Use socklen_t rather than int.
2005-10-15 01:55:18 +00:00
Rob Browning
f5dcc0e8bb
(s_scm_read_line): Initialize slen to make gcc happy.
2005-10-15 01:55:05 +00:00
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