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

3667 commits

Author SHA1 Message Date
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
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
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
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
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
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
5209e7379c Add a copyright year from the cvs logs. 2004-02-28 20:21:40 +00:00
Kevin Ryde
1c73f27eec *** empty log message *** 2004-02-28 19:56:12 +00:00
Kevin Ryde
d542852e69 (scm_execl, scm_execlp, scm_execle): Avoid memory leak under error throw. 2004-02-28 19:50:09 +00:00
Kevin Ryde
ccad5f61c0 (scm_localtime, scm_gmtime, scm_mktime): Provide a default
errno EINVAL in case localtime and gmtime don't set it.
(scm_mktime, scm_strptime): Forcibly use errno EINVAL for our
SCM_SYSERROR, since mktime and strptime generally don't set errno.
2004-02-28 19:09:19 +00:00
Kevin Ryde
46da76382d *** empty log message *** 2004-02-21 21:24:02 +00:00
Kevin Ryde
0dcddc2da9 (scm_crypt): Use new HAVE_CRYPT.
(<crypt.h>): Remove HAVE_LIBCRYPT condition.
Reported by Andreas Voegele.
2004-02-21 21:23:11 +00:00
Kevin Ryde
027ba03718 *** empty log message *** 2004-02-18 00:24:07 +00:00
Kevin Ryde
fbfb6f8529 (scm_shell_usage): Print to stdout for --help, per GNU standard. 2004-02-18 00:23:16 +00:00
Kevin Ryde
5bc692ff08 Add some copyright years, based on the cvs revs. 2004-02-16 00:02:12 +00:00
Kevin Ryde
5c281bfe6a *** empty log message *** 2004-02-15 23:58:51 +00:00
Kevin Ryde
5bed7240ee (scm_list_n): Add va_end. 2004-02-15 23:53:00 +00:00
Kevin Ryde
f247f12115 *** empty log message *** 2004-02-15 23:50:52 +00:00
Kevin Ryde
1ffbc57205 (scm_shell_usage): Print bug-guile email address, as per
GNU standard.  Reported by Han-Wen Nienhuys.
2004-02-15 23:50:14 +00:00
Marius Vollmer
2e98092b11 *** empty log message *** 2004-02-13 00:10:19 +00:00
Marius Vollmer
4287b58f05 (scm_cmp_function): Always return applyless, do not try to be clever.
(subr2less, subr2oless, lsubrless, closureless): Removed.
2004-02-13 00:08:41 +00:00
Marius Vollmer
fdad52193f *** empty log message *** 2004-02-12 23:56:55 +00:00
Kevin Ryde
006528b4c6 *** empty log message *** 2004-02-11 22:20:26 +00:00
Kevin Ryde
cd18429baf (scm_array_p): Add missing "break"s in switch, fix llvect
test look for "l" not "s", fix fvect need NIMP before singp, fix dvect
to be false for singp(prot) since such a value is for fvect.
2004-02-11 22:19:30 +00:00
Rob Browning
57c5d82d6a *** empty log message *** 2004-01-13 16:56:46 +00:00
Rob Browning
f801adf122 (numbers.lo): remove -Werror for now since gcc 3.3 will choke.
(eval.lo): remove -Werror for now since gcc 3.3 will choke.
2004-01-13 16:55:31 +00:00
Marius Vollmer
12819d6108 Instead of the non-portable mktemp, use mkdir to create a unique
temporary directory that we can safely use.  Thanks to Stefan
Nordhausen!
2004-01-10 23:29:56 +00:00
Marius Vollmer
6d98b00b50 *** empty log message *** 2004-01-10 21:26:06 +00:00
Marius Vollmer
f38ea16b00 Use mktemp to create a truely unique temporary file name. Thanks to
Stefan Nordhausen!
2004-01-10 21:25:34 +00:00
Kevin Ryde
ef16ee6664 *** empty log message *** 2004-01-06 23:35:37 +00:00
Kevin Ryde
e14ddc74de (scm_aind): Test SCM_CONSP rather than !SCM_NULLP while
traversing the args list, fixes segv if an improper list is given.
Reported by Rouben Rostamian.
2004-01-06 23:34:54 +00:00