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

9226 commits

Author SHA1 Message Date
Kevin Ryde
8c460409de *** empty log message *** 2004-05-13 21:12:02 +00:00
Kevin Ryde
a68516299f *** empty log message *** 2004-05-12 00:45:36 +00:00
Kevin Ryde
0e0f3969a9 (scm_floor, scm_ceiling, scm_truncate_number,
scm_round_number): New functions, replacing scm_tc7_cxr definitions,
and ensuring exact arguments give exact results, as required by R5RS.
Derived in part from the same by Marius in the cvs head.  Reported by
Ray Lehtiniemi.
2004-05-12 00:44:33 +00:00
Marius Vollmer
627861983e *** empty log message *** 2004-05-11 19:08:24 +00:00
Marius Vollmer
9ac10bbeb6 (scm_string_trim, scm_string_trim_right, scm_string_trim_both): Cast
to unsigned char for isspace.
2004-05-11 19:07:39 +00:00
Marius Vollmer
3e50460304 *** empty log message *** 2004-05-10 22:41:04 +00:00
Marius Vollmer
ab99fb6c07 (scm_sigaction): Validate that the handler is indeed a procedure when
it isn't a number.
2004-05-10 22:26:59 +00:00
Kevin Ryde
8d7833a8c6 *** empty log message *** 2004-05-09 22:55:26 +00:00
Kevin Ryde
f0a82ba793 (scm_logbit_p): Correction to test above the end of an
inum.  Reported by Jan Konecny.
2004-05-09 22:51:24 +00:00
Kevin Ryde
58a4b0d6ac *** empty log message *** 2004-05-09 22:50:24 +00:00
Kevin Ryde
34a3e10b36 (logbit?): New tests. 2004-05-09 22:49:43 +00:00
Kevin Ryde
c60695a109 *** empty log message *** 2004-05-09 00:53:39 +00:00
Kevin Ryde
beab6d49dc (test-dst, string->date local DST): Test with
"EST5EDT" instead of "CET", since HP-UX doesn't know CET.  Reported by
Andreas Vögele.
2004-05-09 00:53:11 +00:00
Kevin Ryde
5ad9bb4b39 *** empty log message *** 2004-05-02 23:32:58 +00:00
Kevin Ryde
020d2dd675 (strftime): Force tm:isdst to 0 for the test, for
the benefit of HP-UX.  Reported by Andreas Vögele.
Use set-tm:zone rather than a hard coded vector offset.
2004-05-02 23:25:41 +00:00
Kevin Ryde
aa01be865e *** empty log message *** 2004-05-01 21:27:16 +00:00
Kevin Ryde
558fe9ed15 (varargs.h): Remove, leave just stdarg.h which is all the
code has support for.  Fixes building with AIX cc, which is ansi but
doesn't define __STDC__.  Reported by Keith Crane.
(var_start): Remove macro, this variation no longer required.
(scm_list_n): Use va_start directly.
2004-05-01 21:26:35 +00:00
Kevin Ryde
312a986b11 (version.h): Change $^ to $(srcdir)/version.h.in, since
$^ is apparently not available on AIX 5.1.  Reported by Keith Crane.
2004-05-01 21:16:29 +00:00
Kevin Ryde
f04a2d4bee (version.h): Change $^ to version.h.in explicitly, since
$^ is apparently not available on AIX 5.1.  Reported by Keith Crane.
2004-05-01 21:15:11 +00:00
Kevin Ryde
69b6234893 *** empty log message *** 2004-04-27 23:48:18 +00:00
Kevin Ryde
18137a7e19 (truncate, round, floor, ceiling): Add tests, in
particular exercising exactness fixes and scm_round 2^53-1 fix.
2004-04-27 23:47:22 +00:00
Kevin Ryde
7eab4dcb8e (scm_floor, scm_ceiling, scm_truncate_number,
scm_round_number): New functions, replacing scm_tc7_cxr definitions,
and ensuring exact arguments give exact results, as required by R5RS.
Derived in part from the same by Marius in the cvs head.  Reported by
Ray Lehtiniemi.
2004-04-27 23:41:04 +00:00
Kevin Ryde
c6c7d0651c *** empty log message *** 2004-04-24 23:37:33 +00:00
Kevin Ryde
ea16775d4c (scm_tables_prehistory): Remove. 2004-04-24 23:30:44 +00:00
Kevin Ryde
e5ef27ff9a (scm_char_upcase, scm_char_downcase, scm_upcase,
scm_downcase): Use ctype.h toupper and tolower.  This will be useful
in 8-bit locales, and ensures consistency with char-upper-case? and
char-lower-case? which already use ctype.h.
(scm_upcase_table, scm_downcase_table, scm_lowers, scm_uppers): Remove.
(scm_tables_prehistory): Remove.
2004-04-24 23:24:48 +00:00
Kevin Ryde
b49974ba3d Missed a bit of:
(scm_getcwd, scm_readlink): Avoid memory leak on errors.
2004-04-24 23:19:57 +00:00
Kevin Ryde
9ff1f64794 *** empty log message *** 2004-04-24 22:52:47 +00:00
Kevin Ryde
50af014bb7 (scm_getcwd, scm_readlink): Avoid memory leak on errors. 2004-04-24 22:48:44 +00:00
Kevin Ryde
7fd8fe2cd5 * tests/srfi-1.test: New file, exercising extended list-copy.
* Makefile.am (SCM_TESTS): Add it.
2004-04-23 21:27:04 +00:00
Kevin Ryde
3f34399562 *** empty log message *** 2004-04-23 21:26:21 +00:00
Kevin Ryde
af7ffded27 New file, exercising extended list-copy. 2004-04-23 21:25:41 +00:00
Kevin Ryde
6e98021b0a (list-copy): New function, allowing improper lists as per
SRFI-1 spec, which the core list-copy doesn't do.
2004-04-23 21:22:33 +00:00
Kevin Ryde
2064297d2e (scm_round): Test for x already an integer, to avoid bad
rounding in x+0.5 when x is a big value already an integer.  In
certain hardware rounding cases x+0.5 can give an adjacent integer,
leading to that as the result, when we really just wanted x itself.
2004-04-22 00:51:07 +00:00
Kevin Ryde
5f9610ad99 *** empty log message *** 2004-04-22 00:39:48 +00:00
Rob Browning
6a46049486 (eval.lo): don't filter -Werror now that we're using
-fno-strict-aliasing.
2004-04-20 05:48:42 +00:00
Rob Browning
71174d95db *** empty log message *** 2004-04-20 05:47:47 +00:00
Rob Browning
23563c4144 add --fno-strict-aliasing when compiling with gcc. 2004-04-20 05:45:41 +00:00
Kevin Ryde
5f663d6cdc *** empty log message *** 2004-04-17 23:23:52 +00:00
Kevin Ryde
6a9d6cc194 (let-values): Use gensym instead of gentemp, to avoid
deprecation warning from the latter.  Reported by Andreas Rottmann.
(Same change made by Marius in the cvs head.)
2004-04-17 23:22:33 +00:00
Kevin Ryde
c3796b3e2d *** empty log message *** 2004-04-15 00:48:33 +00:00
Kevin Ryde
58e46b8dba Add SIGSYS. 2004-04-15 00:47:42 +00:00
Kevin Ryde
bfffb76aaf *** empty log message *** 2004-03-20 00:04:46 +00:00
Kevin Ryde
3c0a41b108 (scm_gethostname): Preserve errno across free() call. 2004-03-19 23:58:22 +00:00
Kevin Ryde
41f8545d08 *** empty log message *** 2004-02-28 23:21:39 +00:00
Kevin Ryde
c874b4500f * tests/posix.test: New file, exercise execl, execlp, execle errors.
* Makefile.am (SCM_TESTS): Add it.
2004-02-28 23:20:13 +00:00
Kevin Ryde
b233636a08 New file, exercise execl, execlp, execle errors. 2004-02-28 23:16:54 +00:00
cvs2svn
f07e4811d3 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-02-28 23:07:57 +00:00
Kevin Ryde
c2d31141dc (execl, execlp, execle): Exercise errors where
program not found.  [But disabled, due to problems with threading.]
2004-02-28 23:07:56 +00:00
Kevin Ryde
2a61284af5 *** empty log message *** 2004-02-28 21:38:37 +00:00
Kevin Ryde
32bb5bd88c (execl, execlp, execle): Exercise errors where program not found. 2004-02-28 21:37:41 +00:00