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

5376 commits

Author SHA1 Message Date
Kevin Ryde
cd4387d987 Add malloc.h to get alloca() on mingw. Reported by "The Senator". 2006-05-27 22:49:09 +00:00
Kevin Ryde
c792a7533c Add malloc.h to get alloca() on mingw. 2006-05-27 22:48:28 +00:00
Marius Vollmer
c3744cdced Correct embarrasing typo. "Always be sure to test the right branch." 2006-05-27 21:26:03 +00:00
Marius Vollmer
57e1b34a17 * srfi-4.c, strings.c: Replace SCM_C_INLINE with SCM_C_INLINE_KEYWORD.
Thanks to Mark Gran!
2006-05-27 21:01:28 +00:00
Kevin Ryde
8832641ab8 *** empty log message *** 2006-05-26 00:58:21 +00:00
Kevin Ryde
83af35ed9b (fport_input_waiting): For ioctl, check HAVE_IOCTL as well
as defined(FIONREAD), since mingw has FIONREAD but not ioctl().
Reported by "The Senator".
For select and ioctl, move fdes into those conditionals, to avoid
unused variable warning when neither of those used.
2006-05-26 00:24:03 +00:00
Kevin Ryde
3b3a44557e *** empty log message *** 2006-05-22 23:05:00 +00:00
Kevin Ryde
4ac6404336 Remove "fwrite" declaration under "! HAVE_UNISTD_H".
It's unused and will be in stdio.h anyway (if it's anywhere).
2006-05-22 22:46:26 +00:00
Kevin Ryde
0a764f8169 *** empty log message *** 2006-05-19 23:52:25 +00:00
Kevin Ryde
8f21ef9067 (scm_is_pair): Add a workaround for i386 gcc 2.95 bad code generation. 2006-05-19 23:49:55 +00:00
Kevin Ryde
8d1dd1a137 (scm_mknod): Test #ifdef S_IFLNK before using that (for
symlink).  Probably can't create symlinks with mknod anyway though.
2006-05-19 23:45:03 +00:00
Kevin Ryde
9b638d67f2 (scm_stat2scm): Test #ifdef S_ISLNK directly, rather than
HAVE_S_ISLNK from configure (it was only a #ifdef test anyway).
2006-05-19 23:40:09 +00:00
Kevin Ryde
88bfcc55fa (scm_primitive__exit): New function. 2006-05-19 23:16:05 +00:00
Kevin Ryde
5ff9f91742 *** empty log message *** 2006-05-19 23:14:26 +00:00
Kevin Ryde
91a032971b *** empty log message *** 2006-05-15 00:33:37 +00:00
Kevin Ryde
29fb0c2cdd (chart_primitive__exit): New function.
(scm_primitive_exit): Update docstring, no longer the best exit after
a fork.
2006-05-15 00:26:59 +00:00
Kevin Ryde
b80fcfc4ad *** empty log message *** 2006-05-09 00:28:02 +00:00
Kevin Ryde
05d0fc3833 (scm_seek): Use lseek64.
(scm_truncate_file): Use ftruncate64.
2006-05-09 00:26:58 +00:00
Kevin Ryde
e6a7795376 (scm_open_fdes): Use open64.
(scm_init_filesys): Add O_LARGEFILE.
2006-05-09 00:26:01 +00:00
Kevin Ryde
65581bc84d (scm_i_divide): For big/big wanting inexact, use mpq_get_d
rather than converting to doubles, to avoid inf or nan when the inputs
are too big for a double but the quotient does fit.  This affects
conversions exact->inexact of big fractions.
2006-05-09 00:25:11 +00:00
Marius Vollmer
101bd61cf5 *** empty log message *** 2006-05-07 22:54:25 +00:00
Marius Vollmer
6f4e78e532 (CELL_P): Also check that the potential pointer is
correctly aligned for a cell.  Thanks to Miroslav Lichvar!
2006-05-07 22:53:58 +00:00
Rob Browning
0173b78c97 *** empty log message *** 2006-04-19 03:58:03 +00:00
Rob Browning
2ac0f04603 Add back error if the size of off_t is unknown. The bug was actually
in guile-readline's configuration.
2006-04-19 03:57:03 +00:00
Kevin Ryde
84f954caec *** empty log message *** 2006-04-17 23:39:47 +00:00
Kevin Ryde
adce9123c3 (scm_mkstemp): Update docstring from the manual, in
particular file mode 0600 is not guaranteed.
2006-04-17 23:23:30 +00:00
Kevin Ryde
60771f9057 *** empty log message *** 2006-04-17 01:24:50 +00:00
Kevin Ryde
5c7ff8d92a (scm_to_off_t, scm_from_off_t): No error if unknown off_t
size, to help the guile-readline build where off_t is unused.
2006-04-17 01:22:27 +00:00
Kevin Ryde
51c28a2047 scm_t_uint64 cast in scm_i_uniform32, which was apparently Mikael's
intention (as in the HEAD).
2006-04-17 00:25:52 +00:00
Kevin Ryde
d958b13ed0 Show Mikael's random.c change under his name, to reduce diff between
1.8 branch and the head.
2006-04-17 00:24:17 +00:00
Kevin Ryde
287bb7a23f *** empty log message *** 2006-04-16 01:39:29 +00:00
Kevin Ryde
171412ff78 (stat_or_stat64 etc): Macros for selecting LFS64 when available. 2006-04-16 01:33:22 +00:00
Kevin Ryde
c506a7fda5 (scm_stat2scm, scm_stat, scm_lstat): Use stat64.
(scm_readdir): Use readdir64.
(scm_copy_file): Use open64 and fstat64, to cope with >2Gb files.
2006-04-16 01:26:29 +00:00
Kevin Ryde
1c64e87552 (scm_truncate_file): Use truncate64. Correction truncate
and ftruncate take off_t not size_t.
2006-04-16 01:21:38 +00:00
Kevin Ryde
ffe9f271cc *** empty log message *** 2006-04-06 00:15:18 +00:00
Kevin Ryde
e33026ad91 (scm_setvbuf): Fix for not _IOLBF, clear SCM_BUFLINE
instead of toggling it.  Reported by Ludovic Courtès.
2006-04-06 00:14:10 +00:00
Marius Vollmer
50a64877dd * threads.c (get_thread_stack_base): Use scm_get_stack_base
instead of accessing __libc_stack_end directly, and only do this
when pthread_attr_getstack is known not to work for the main
thread or when not using pthreads at all.

* gc_os_dep.c (scm_get_stack_base): Abort when the machine type is
unknown instead of returning NULL.
2006-03-25 22:24:21 +00:00
Kevin Ryde
1e85890c0e *** empty log message *** 2006-03-21 00:56:33 +00:00
Kevin Ryde
2d25ec1981 2006-03-21 Ludovic Courtès <ludovic.courtes@laas.fr>
* numbers.c (scm_i_mem2number): Renamed to
	scm_c_locale_stringn_to_number.
	* numbers.c, print.c, read.c: Updated callers.
2006-03-21 00:45:09 +00:00
Kevin Ryde
d0a9429acc 2006-03-21 Ludovic Courtès <ludovic.courtes@laas.fr>
* numbers.c (scm_i_mem2number): Renamed to
	scm_c_locale_stringn_to_number.
        * numbers.h: Update function declaration.
2006-03-21 00:42:41 +00:00
Neil Jerram
a9bcaa37b3 (string_set): Don't return in a void function. (Reported
by Mike Gran.)
2006-03-11 20:47:52 +00:00
Neil Jerram
05b454920e (scm_uniform_vector_read_x): Declare base as char*
rather than void*, so we can do pointer arithmetic on it.
(Reported by Mike Gran.)
(s_scm_uniform_vector_write): Ditto.
2006-03-11 12:32:25 +00:00
Neil Jerram
41352a0ab0 (scm_make_shared_array): Don't use SCM_I_ARRAY_BASE when
oldra is not an array.  (Reported by Steve Juranich.)
2006-03-10 23:59:33 +00:00
Neil Jerram
b82115b8ba (do_unlock): Renamed from "unlock", which is defined
in unistd.h on QNX.  (Reported by Matt Kraai.)
2006-03-10 23:04:46 +00:00
Kevin Ryde
e1110dcbdf *** empty log message *** 2006-03-03 23:58:32 +00:00
Kevin Ryde
f367635227 Copyright year 2006-03-03 23:57:27 +00:00
Kevin Ryde
b89dc7ae57 Change comments from C++ to C style. Reported by Mike Gran. 2006-03-03 23:56:51 +00:00
Kevin Ryde
1b52ef74b7 *** empty log message *** 2006-03-03 23:36:58 +00:00
Kevin Ryde
51d123b40c (scm_i_defer_ints_etc): Show SCM_DEFER_INTS in message,
not SCM_CRITICAL_SECTION_START.
2006-03-03 23:35:57 +00:00
Kevin Ryde
6c4015417a *** empty log message *** 2006-02-27 16:37:34 +00:00