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

10131 commits

Author SHA1 Message Date
Kevin Ryde
c2696f1f61 primitive-_exit under "scheme functions and syntax" 2006-08-25 00:59:13 +00:00
Kevin Ryde
3d59ecbc90 record type checks 2006-08-25 00:56:49 +00:00
Kevin Ryde
f35ac81fd8 Bit more of:
* configure.in: Test if need braces around PTHREAD_ONCE_INIT, set
	AC_OUTPUT of SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT.

Need to set SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT to some value
always, not just when pthreads.
2006-08-22 23:59:49 +00:00
Kevin Ryde
e315794e34 *** empty log message *** 2006-08-21 23:48:25 +00:00
Kevin Ryde
27a33ef9f1 More tests, in particular check for exceptions on
wrong record types passed to accessor and modifier funcs.
2006-08-21 23:46:16 +00:00
Kevin Ryde
02e06553f0 (Internationalization): Cross reference gettext manual on plural forms. 2006-08-21 23:43:52 +00:00
Kevin Ryde
5f749e99dc *** empty log message *** 2006-08-21 23:35:24 +00:00
Kevin Ryde
acc028b0eb (SCM_I_PTHREAD_ONCE_INIT): Use
SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT to cope with Solaris.
Reported by Claes Wallin.
2006-08-21 23:32:58 +00:00
Kevin Ryde
065366d0df (SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT): New output to scmconfig.h. 2006-08-21 23:29:48 +00:00
Kevin Ryde
5c2b1ab57b (SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT): New, set from configure. 2006-08-21 23:27:53 +00:00
Kevin Ryde
33f9e79b8c Test if need braces around PTHREAD_ONCE_INIT, set
AC_OUTPUT of SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT.
2006-08-21 23:26:32 +00:00
Kevin Ryde
82843d5c26 *** empty log message *** 2006-08-02 00:48:35 +00:00
Kevin Ryde
b0c50494b6 (%record-type-check): New function.
(record-accessor, record-modifier): Use it for a strict type check of
the given record.  Previously an accessor returned #f on a wrong
record type, and modifier silently did nothing.
2006-08-02 00:45:45 +00:00
Kevin Ryde
729ab63afa *** empty log message *** 2006-07-25 00:39:39 +00:00
Kevin Ryde
4a7ad916fd Use "&& exit 1" instead of "!" to
invert the sense of exit statuses, as the latter doesn't work on
Solaris 10.  Reported by Claes Wallin.
2006-07-25 00:39:18 +00:00
Kevin Ryde
3805c7d8c9 *** empty log message *** 2006-07-25 00:26:05 +00:00
Kevin Ryde
158d3dac8a Use scm_boot_guile rather than scm_init_guile, for the benefit of
those systems where we can't implement the latter.
2006-07-25 00:22:45 +00:00
Kevin Ryde
3e494123b6 (AC_CHECK_FUNCS): Add pthread_getattr_np. 2006-07-25 00:10:17 +00:00
Kevin Ryde
3d9ff38eac (get_thread_stack_base): Restrict HAVE_PTHREAD_GETATTR_NP
on pthreads version, since pthread_getattr_np not available on solaris
and macos.  Reported by Claes Wallin.
2006-07-25 00:09:30 +00:00
Kevin Ryde
658b7fa124 bit more comment on sethostname 2006-07-24 23:40:31 +00:00
Kevin Ryde
42522438e9 *** empty log message *** 2006-07-24 01:39:51 +00:00
Kevin Ryde
0a331acc54 (dirfd): Test with #ifndef rather than HAVE_DIRFD, since
it's a macro on MacOS X.  Reported by Claes Wallin.
2006-07-24 01:38:24 +00:00
Kevin Ryde
1fe40cee4c (AC_CHECK_DECLS): Add sethostname for Solaris 10.
(AC_CHECK_FUNCS): Remove dirfd, it's a macro.
Reported by Claes Wallin.
2006-07-24 01:09:41 +00:00
Kevin Ryde
2895b96375 *** empty log message *** 2006-07-24 00:47:23 +00:00
Kevin Ryde
adc72e85fd (sethostname): Give prototype if not HAVE_DECL_SETHOSTNAME,
for the benefit of Solaris 10.  Reported by Claes Wallin.
2006-07-24 00:45:09 +00:00
Kevin Ryde
67fbf55cf7 *** empty log message *** 2006-07-23 22:37:22 +00:00
Kevin Ryde
4fd8558217 add copyright years 2006-07-23 22:31:51 +00:00
Kevin Ryde
77d93b60ee (Fly Evaluation): Add scm_c_eval_string.
(Loading): Add scm_c_primitive_load.
Reported by Jon Wilson.
2006-07-23 22:30:19 +00:00
Kevin Ryde
2d4fd7f194 *** empty log message *** 2006-07-23 22:29:04 +00:00
Kevin Ryde
6867446f57 (htonl, ntohl): New tests. 2006-07-23 22:22:20 +00:00
Kevin Ryde
ec6844790f *** empty log message *** 2006-07-23 22:20:50 +00:00
Kevin Ryde
7ac90ac289 (scm_htonl, scm_ntohl): Use scm_to_uint32 rather than
NUM2ULONG, to enforce 32-bit range check on systems with 64-bit long.
2006-07-23 22:19:41 +00:00
Kevin Ryde
0c5365ea3e *** empty log message *** 2006-07-21 00:36:33 +00:00
Kevin Ryde
a0ceceba5d (alloca): Update <alloca.h> etc blob, per current
autoconf recommendation.  Should fix Solaris 10 reported by Claes
Wallin.
2006-07-21 00:32:32 +00:00
Kevin Ryde
d568a582ef Include <string.h>, needed for memset() which is used by
FD_ZERO() on Solaris 10.  Reported by Claes Wallin.
2006-07-21 00:09:52 +00:00
Rob Browning
6bfedde58c *** empty log message *** 2006-07-19 06:44:37 +00:00
Rob Browning
5121c02c00 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:44:30 +00:00
Ludovic Courtès
71aa2c6c7b Changes from arch/CVS synchronization 2006-07-12 08:15:57 +00:00
Kevin Ryde
c8cefa91e2 also 1.6.9 in comments in last change 2006-07-07 22:41:49 +00:00
Kevin Ryde
c26cb2aee4 *** empty log message *** 2006-07-07 22:34:27 +00:00
Kevin Ryde
963c8133d6 (version.h): Don't use $< in an explicit rule, it's not
portable and in particular fails on OpenBSD and AIX (see autoconf
manual too).  Reported by Mike Gran.
2006-07-07 22:32:14 +00:00
Kevin Ryde
4a0c7b515d (core_environments_unobserve): Use if/else rather
than ?: for "SET" bits, avoiding complaints from AIX xlc compiler
about them not being rvalues.  Reported by Mike Gran.
2006-07-07 22:21:08 +00:00
Kevin Ryde
0ad95e9ab8 (localtime, mktime, strptime): More tests. 2006-07-06 00:38:09 +00:00
Kevin Ryde
f4a7e48e14 *** empty log message *** 2006-06-25 01:06:43 +00:00
Kevin Ryde
0d74bd6eef (Time): In tm:gmtoff, give example values, note not the
same as C tm_gmtoff.
2006-06-25 01:05:55 +00:00
Kevin Ryde
0ebff347ec (AC_CHECK_MEMBERS): Test struct tm.tm_gmtoff. 2006-06-25 01:01:06 +00:00
Kevin Ryde
e11f46816f *** empty log message *** 2006-06-25 01:00:05 +00:00
Kevin Ryde
9b24833dbf (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-06-25 00:59:00 +00:00
Kevin Ryde
dd1aea35e1 (bdtime2c): tm_gmtoff is seconds East, so take negative of
tm:gmtoff which is seconds West.  Reported by Aaron VanDevender.
2006-06-25 00:18:36 +00:00
Ludovic Courtès
b0a9c997e1 Added `test-suite/tests/structs.test'. 2006-06-20 16:51:35 +00:00