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

5347 commits

Author SHA1 Message Date
Ludovic Courtès
51785a23a8 Changes from arch/CVS synchronization 2006-11-29 09:25:32 +00:00
Ludovic Courtès
25ee3008f7 Changes from arch/CVS synchronization 2006-11-29 09:08:04 +00:00
Kevin Ryde
5f488a0900 spurious blank line 2006-10-09 23:03:51 +00:00
Kevin Ryde
b5f91eb57c *** empty log message *** 2006-10-02 20:25:18 +00:00
Kevin Ryde
6f96fdfc89 (SCM_APPLY): For scm_tc7_subr_2o, throw wrong-num-args on 0
arguments or 3 or more arguments.  Previously 0 called proc with
SCM_UNDEFINED, and 3 or more silently used just the first 2.
2006-10-02 20:10:04 +00:00
Kevin Ryde
de62474622 *** empty log message *** 2006-09-28 01:16:42 +00:00
Kevin Ryde
67227767f7 (truncate): Use "const char *" and "off_t" for parameters, per usual
definition of this function, rather than "char *" and "int".  Use
ftruncate instead of chsize.  Check for error on final close.
2006-09-28 01:15:35 +00:00
Kevin Ryde
f3dbe1aff3 (truncate): Conditionalize on "HAVE_FTRUNCATE && ! HAVE_TRUNCATE" so
as not to hard-code mingw.
2006-09-28 01:05:55 +00:00
Kevin Ryde
3527bdc71b (ftruncate): Use "HAVE_CHSIZE && ! HAVE_FTRUNCATE"
for chsize fallback, instead of hard-coding mingw.  Mingw in fact
supplies ftruncate itself these days.
2006-09-28 01:03:51 +00:00
Kevin Ryde
423b201902 (fcntl.h): Can include this unconditionally, no need for __MINGW32__. 2006-09-28 01:01:23 +00:00
Kevin Ryde
1701d8ed3f (ftruncate): Use "HAVE_CHSIZE && ! HAVE_FTRUNCATE"
for chsize fallback, instead of hard-coding mingw.  Mingw in fact
supplies ftruncate itself these days.
2006-09-28 00:58:19 +00:00
Kevin Ryde
dd31387aa4 *** empty log message *** 2006-09-27 01:49:29 +00:00
Kevin Ryde
b43ba14192 (scm_execl, scm_execlp, scm_execle): Cast "const char *
const *" for mingw to suppress warnings from gcc (which are errors
under the configure default -Werror).  Reported by Nils Durner.
2006-09-27 01:39:56 +00:00
Kevin Ryde
8e398567b6 *** empty log message *** 2006-09-27 01:35:53 +00:00
Kevin Ryde
14838b6b40 (scm_log10): Check HAVE_CLOG10, not available in mingw. 2006-09-27 01:34:44 +00:00
Kevin Ryde
4d5399187f (scm_truncate_file): Update docstring per manual. 2006-09-26 01:27:54 +00:00
Kevin Ryde
76557947d8 *** empty log message *** 2006-09-26 01:17:50 +00:00
Kevin Ryde
3d4a5d36d3 (scm_seek, scm_truncate_file): Use scm_i_fport_seek and
scm_i_fport_truncate to allow 64-bit seeks and truncates on fports.
2006-09-26 01:15:20 +00:00
Kevin Ryde
1c4ccf8457 (scm_i_fport_seek, scm_i_fport_truncate): New functions. 2006-09-26 01:13:44 +00:00
Kevin Ryde
5ae0c155c0 (scm_open_file): Use open_or_open64.
(fport_seek_or_seek64): New function.
(scm_i_fport_seek, scm_i_fport_truncate): New functions.
2006-09-26 01:12:51 +00:00
Kevin Ryde
e8d9b45487 (scm_to_off64_t, scm_from_off64_t): New macros. 2006-09-26 01:11:05 +00:00
Ludovic Courtès
903762e5cf Changes from arch/CVS synchronization 2006-09-25 08:23:24 +00:00
Kevin Ryde
49acac79a1 Crib not on dirfd.m4 if we need/want dirfd everywhere in the future. 2006-09-23 01:43:59 +00:00
Kevin Ryde
c82f332e1e More of:
* numbers.c, numbers.h (scm_log, scm_log10, scm_exp, scm_sqrt): New
	functions.
2006-09-23 01:16:50 +00:00
Kevin Ryde
13ec28ffc5 *** empty log message *** 2006-09-22 23:36:48 +00:00
Kevin Ryde
0a1aa8536e (scm_log, scm_log10, scm_exp, scm_sqrt): New functions. 2006-09-22 23:19:20 +00:00
Kevin Ryde
889783acda (scm_log, scm_log10, scm_exp, scm_sqrt): New functions. 2006-09-22 23:14:01 +00:00
Kevin Ryde
f1b0f6d0bf *** empty log message *** 2006-09-07 22:53:32 +00:00
Kevin Ryde
dfc5f8d2d4 (scm_recvfrom): Update docstring from manual.
(scm_init_socket): Add MSG_DONTWAIT.
2006-09-07 22:52:16 +00:00
Rob Browning
1d69880461 Fix C style error. 2006-09-01 01:39:52 +00:00
Rob Browning
421ccd369d *** empty log message *** 2006-09-01 01:35:26 +00:00
Rob Browning
2b49d8e3cb (scm_c_port_for_each): Add a scm_remember_upto_here_1(ports) at the
end of the function to fix a GC bug.
2006-09-01 01:35:13 +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
3805c7d8c9 *** empty log message *** 2006-07-25 00:26:05 +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
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
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