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

11173 commits

Author SHA1 Message Date
Kevin Ryde
e7a6799e20 *** empty log message *** 2005-10-23 22:39:02 +00:00
Kevin Ryde
37165cc477 (strftime %Z): Disable this test, its assumptions
about %Z are not valid on NetBSD.
2005-10-23 22:38:18 +00:00
Kevin Ryde
8a7f171bed *** empty log message *** 2005-10-23 22:16:36 +00:00
Kevin Ryde
14d5e963c9 *** empty log message *** 2005-10-23 22:16:06 +00:00
Kevin Ryde
b12c0db10e (Bit Vectors): Remove #b(#t ...) example, that syntax was never implemented. 2005-10-23 22:15:32 +00:00
Rob Browning
81b74a8c0f *** empty log message *** 2005-10-19 07:01:32 +00:00
Kevin Ryde
a06e4b8608 *** empty log message *** 2005-10-16 23:11:28 +00:00
Rob Browning
3b6342a35a *** empty log message *** 2005-10-16 18:39:38 +00:00
Rob Browning
159007d108 *** empty log message *** 2005-10-15 20:47:35 +00:00
Rob Browning
5bc79276df *** empty log message *** 2005-10-15 01:56:17 +00:00
Rob Browning
1fbd9e82cc (scm_string_any, scm_string_every, scm_string_to_listS)
(scm_string_trim, scm_string_trim_right)
(scm_string_trim_right, scm_string_trim_both)
(scm_string_compare, scm_string_compare_ci, scm_string_eq)
(scm_string_neq, scm_string_lt, scm_string_gt)
(scm_string_le, scm_string_ge, scm_string_ci_eq)
(scm_string_ci_neq, scm_string_ci_lt, scm_string_ci_gt)
(scm_string_ci_le, scm_string_ci_ge, scm_string_indexS)
(scm_string_index_right, scm_string_skip)
(scm_string_skip_right, scm_string_count, scm_string_map)
(scm_string_map_x, scm_string_fold, scm_string_fold_right)
(scm_string_for_each, scm_string_filter, scm_string_delete): Fix
char vs unsigned char mismatches in various function calls.  For
the most part, this means adding a char * alias to existing
unsigned char * for calls to SCM_VALIDATE_SUBSTRING_SPEC_COPY
which won't accept a simple coercion and requires a char *.  There
were also some calls to scm_mem2string() and SCM_STRING_CHARS()
that needed to be fixed.
2005-10-15 01:55:36 +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
Rob Browning
fc846c0f53 Check for socklen_t and set HAVE_SOCKLEN_T if it's available. This is
required by the socket.c compile fixes.
2005-10-15 01:54:19 +00:00
Rob Browning
8342448085 *** empty log message *** 2005-10-14 06:20:23 +00:00
Rob Browning
9cd81ebb74 Updated to match the current raw-ltdl.h. 2005-10-14 06:20:17 +00:00
Rob Browning
2b31068057 Updated to match the current raw-ltdl.c. 2005-10-14 06:20:11 +00:00
Kevin Ryde
7ea436c367 *** empty log message *** 2005-08-18 23:57:02 +00:00
Kevin Ryde
cb94db4374 (date->time-tai): New tests, exercising new leap-second. 2005-08-18 23:52:35 +00:00
Kevin Ryde
812435bee2 *** empty log message *** 2005-08-18 23:47:44 +00:00
Kevin Ryde
3c146f8604 (priv:leap-second-table): Add new 2005 leap second. 2005-08-18 23:46:00 +00:00
Kevin Ryde
4cc21a775d *** empty log message *** 2005-08-13 00:43:57 +00:00
Kevin Ryde
0d4b6a79e9 * tests/poe.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2005-08-13 00:43:40 +00:00
Kevin Ryde
f0ba7983a6 Correction to the copyright notice, too much cut and paste from the head. 2005-08-13 00:43:09 +00:00
Kevin Ryde
8e262f3c5d New file. 2005-08-13 00:42:17 +00:00
Kevin Ryde
3269103972 *** empty log message *** 2005-08-13 00:20:49 +00:00
Kevin Ryde
bfe1ca4ef7 (funcq-assoc): Rewrite, don't assume '() is false, and
actually traverse the given alist.

[this change copied from 2003 in the head, hence that copyright year]
2005-08-13 00:19:47 +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
c0c214a5fc (set-module-eval-closure!): Undone change from 2005-06-10. There is
still code relying on the property being there. UN-GC-able modules are
a problem, tho.
2005-07-31 23:50:12 +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
418213d37f (scm_lt_dlsymlist): Define the struct in
full in guile-ltdl.h, gcc 4 objects to the use of an undefined struct
in libguile/guile.c main().
2005-07-12 00:08:02 +00:00
Kevin Ryde
83835ca0fc (scm_lt_dlsymlist): Define the struct in
full in guile-ltdl.h, gcc 4 objects to the use of an undefined struct
in guile.c main().
2005-07-12 00:07:16 +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
Kevin Ryde
b67a1d3f95 *** empty log message *** 2005-06-23 23:23:55 +00:00
Kevin Ryde
1654c5b219 *** empty log message *** 2005-06-23 23:23:35 +00:00
Kevin Ryde
f2de133512 (readline-options-interface):
Export this, for use by readline-set! macro.  Reported by Alan Grover.
2005-06-23 23:22:49 +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
99f7ecf744 ("set-source-property!"): Two new tests. 2005-06-07 19:16:43 +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
9dc28897ef *** empty log message *** 2005-06-05 21:33:02 +00:00
Kevin Ryde
52e96bd101 (string-split): Try splitting on an 8-bit char. 2005-06-05 21:32:32 +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
cvs2svn
d20953757a This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2005-05-23 19:57:23 +00:00