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

10201 commits

Author SHA1 Message Date
Rob Browning
bc27192cd1 *** empty log message *** 2006-10-04 06:13:48 +00:00
Kevin Ryde
f91265a3ec ** apply arg count checking fix on "1 or 2 arg" functions such as make-vector 2006-10-02 20:47:03 +00:00
Kevin Ryde
b5f91eb57c *** empty log message *** 2006-10-02 20:25:18 +00:00
Kevin Ryde
b724fe7797 *** empty log message *** 2006-10-02 20:13:37 +00:00
Kevin Ryde
580ca910b7 (apply): New tests, exercising scm_tc7_subr_2o which
had lacked some arg count checking.
2006-10-02 20:11:43 +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
Neil Jerram
5ce6ee75df (Slot Options): Added example from Ludovic Courtès
about difference between init-value, -form and -thunk.
2006-09-28 07:55:05 +00:00
Neil Jerram
f0de8d290b (Symbol Props): Remove unnecessarily specific
parenthesis about Guile 1.6's use of extra symbol slots.
2006-09-28 07:39:45 +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
d457b43f6c *** empty log message *** 2006-09-28 00:37:27 +00:00
Kevin Ryde
79bebdbe2c (chsize, ftruncate, truncate): New tests, for mingw. 2006-09-28 00:35:42 +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
c60152ad5b (clog10): New test, not in mingw. 2006-09-27 01:33:10 +00:00
Kevin Ryde
21cde7ad3e LFS for file access. 2006-09-26 01:55:04 +00:00
Kevin Ryde
6a60ae5e89 *** empty log message *** 2006-09-26 01:53:26 +00:00
Kevin Ryde
50be7e4306 (Ports): File access uses LFS. 2006-09-26 01:52:40 +00:00
Kevin Ryde
4d5399187f (scm_truncate_file): Update docstring per manual. 2006-09-26 01:27:54 +00:00
Kevin Ryde
a135bc973d (Random Access): In truncate-file, tweak wording for
clarity, note cannot always extend file this way.
2006-09-26 01:26:21 +00:00
Kevin Ryde
76557947d8 *** empty log message *** 2006-09-26 01:17:50 +00:00
Kevin Ryde
0a8320cfc1 (seek): New tests.
(truncate-file): More tests.
2006-09-26 01:17:29 +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
10cbb08c51 *** empty log message *** 2006-09-25 00:54:59 +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
10a7fe4c1a And still more of
(exp, log, log10, sqrt): New tests.
2006-09-23 01:08:57 +00:00
Kevin Ryde
d9849f45cf (gmtime, strptime): Remove the "unresolved" throws,
the error+thread tests seem ok now (previously were upset by something
leaking out of syntax.test).
2006-09-23 00:08:49 +00:00
Kevin Ryde
2651eca479 * tests/format.test, tests/srfi-1.test: Use define-module to prevent
redefined funcs in those modules extending on to subsequent tests.
2006-09-22 23:52:08 +00:00
Kevin Ryde
13ec28ffc5 *** empty log message *** 2006-09-22 23:36:48 +00:00
Kevin Ryde
1f28c41667 (log, log10, exp, sqrt): Remove, now in libguile/numbers.c. 2006-09-22 23:35:51 +00:00
Kevin Ryde
de7478b490 (exp, log, log10, sqrt): New tests. 2006-09-22 23:33:33 +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
7b7201acb6 *** empty log message *** 2006-09-22 23:07:53 +00:00
Kevin Ryde
0bdb3af4db (complex.h, complex double, csqrt): New tests. 2006-09-22 23:03:30 +00:00
Kevin Ryde
f4702089bf *** empty log message *** 2006-09-22 21:20:43 +00:00
Kevin Ryde
fcc63241cd (Scientific): In sqrt, note it's the positive root
which is returned (as per R5RS).
2006-09-22 01:26:50 +00:00
Rob Browning
b7145f81ed *** empty log message *** 2006-09-20 00:24:20 +00:00
Rob Browning
e7b3313ae9 (build-link): Restore the removal of "/usr/lib" (in addition to
"/usr/lib/" from any -L arguments).
2006-09-20 00:24:16 +00:00