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
97217304d6
Changes from arch/CVS synchronization
2006-06-20 16:44:50 +00:00
Kevin Ryde
a844aadfcc
*** empty log message ***
2006-06-06 00:39:55 +00:00
Kevin Ryde
3af58816a2
(BUILT_SOURCES): Remove guile.texi, only used by
...
maintainers (with doc/maint/docstring.el). Fixes parallel "make -j2"
reported by Mattias Holm.
2006-06-06 00:36:29 +00:00
Kevin Ryde
a5dc14cee1
*** empty log message ***
2006-06-02 23:43:17 +00:00
Kevin Ryde
6af0266b17
(s_vector): Conditionalize on SCM_ENABLE_ELISP, to avoid
...
unused variable warning when elisp disabled. Reported by Ryan
VanderBijl.
2006-06-02 23:42:01 +00:00
Kevin Ryde
3dfa9910db
(scm_handle_by_message): Add dummy return value to avoid
...
compiler warning on cygwin.
2006-06-02 23:39:12 +00:00
Kevin Ryde
b42f4dd9ac
(EXTRA_DOT_X_FILES): Typo in dependency rule, was a
...
duplicate of EXTRA_DOT_DOC_FILES.
(DOT_X_FILES, EXTRA_DOT_X_FILES, DOT_DOC_FILES, EXTRA_DOT_DOC_FILES):
Add scmconfig.h to dependencies, since these all run cpp. Helps a
parallel "make -j2". Reported by Mattias Holm.
2006-06-02 23:26:03 +00:00
Kevin Ryde
e2f5ceb48d
(scm_set_port_mark, scm_set_port_free,
...
scm_set_port_print, scm_set_port_equalp, scm_set_port_flush,
scm_set_port_end_input, scm_set_port_close, scm_set_port_seek,
scm_set_port_truncate, scm_set_port_input_waiting): Use scm_t_bits for
port type descriptor, same as scm_make_port_type return value.
2006-05-30 01:36:35 +00:00
Kevin Ryde
b118d6df5a
(scm_set_port_mark, scm_set_port_free,
...
scm_set_port_print, scm_set_port_equalp, scm_set_port_flush,
scm_set_port_end_input, scm_set_port_close, scm_set_port_seek,
scm_set_port_truncate, scm_set_port_input_waiting): Use scm_t_bits for
port type descriptor, same as scm_make_port_type return value.
2006-05-30 01:29:03 +00:00
Marius Vollmer
2f84db4c66
*** empty log message ***
2006-05-29 21:43:55 +00:00
Marius Vollmer
a3f15eb67c
(scm_equal_p): Use scm_array_equal_p explicitely when one
...
of the arguments is a array. This allows vectors to be equal to
one-dimensional arrays.
2006-05-29 21:40:06 +00:00
Marius Vollmer
5f010460d6
*** empty log message ***
2006-05-29 20:31:59 +00:00
Marius Vollmer
25daa4eb00
(scm_ithrow): When looking for the jmpbuf, first test that we have a
...
pair before accessing its cdr. Thanks to Bill Schottstaedt!
2006-05-29 20:31:39 +00:00
Kevin Ryde
8ce0a099f7
*** empty log message ***
2006-05-27 22:50:32 +00:00
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